Click or drag to resize
sqx

VectorGetValue Method

[float] GetValue([int] i)

Namespace:  sqx
Assembly:  SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntax
C#
public SqlDouble GetValue(
	SqlInt32 i
)

Parameters

i
Type: System.Data.SqlTypesSqlInt32
[int]

Return Value

Type: SqlDouble
[float]
Examples
SQL
declare @V sqx.Vector = sqx.ZeroVector(3).SetValue(2.5,1).SetValue(3.8,2).SetValue(4.2,3)
--set @V = sqx.ZeroVector(3).SetValue(2.5,1).SetValue(3.8,2).SetValue(4.2,3)
select @V.GetValue(1) [1], @V.GetValue(2) [2], @V.GetValue(3) [3]
/*
1                      2                      3
---------------------- ---------------------- ----------------------
2.5                    3.8                    4.2*/
See Also