Vector
<
any
>
A 1-dimensional vector
Class
CompareDelegate
A type that represents a reference to a method with a parameter list and return type
CompareFieldDelegate
A type that represents a reference to a method with a parameter list and return type
FindDelegate
A type that represents a reference to a method with a parameter list and return type
Method
public
Vector
.
Constructor
(
int
size
,
init
)
public
virtual
int
object
.
Compare
(
value
)
Compares this object with another and returns (-1, 0, or 1)
public
bool
Vector
.
Contains
(
value
)
Returns true if the element is present in the container
public
static
Vector
<
any
>
Vector
.
Convert
(
value
)
Convert value into type Vector, null if not successful
public
Vector
<
any
>
Vector
.
Copy
Returns a copy of this object
public
Vector
.
Cross
(
vector
)
Returns the cross product of two vectors in 3 dimensions
public
Vector
.
Dot
(
vector
)
Returns the dot product of two vectors
public
Vector
.
FindMax
Returns the maximum value or null
public
Vector
.
FindMin
Returns the minimum value or null
public
Vector
.
FirstElement
Returns the first element or null
public
Attribute
Vector
.
GetEachType
Get the iterated type
public
virtual
Icon
object
.
GetIcon
Return a icon for this object
public
virtual
object
.
GetLayoutBlock
Return a layout inside a block
public
virtual
object
.
GetLayoutSpan
Return a layout inside a span
public
virtual
object
.
GetLayoutTip
Return a layout for the hint popup
public
virtual
object
.
GetSourceReference
Return a source reference for this object
public
virtual
void
object
.
GetTexSource
(
source
)
LaTeX source code for this object
public
Vector
.
GetValue
(
index
)
Get the ith value
public
void
Vector
.
Initialize
(
value
)
Set all elements to a single value
public
Vector
.
LastElement
Returns the last element or null
public
Vector
.
Norm
Returns the norm of the vector
public
Vector
.
Normalize
Returns the normalized form of the vector
public
void
Vector
.
SetValue
(
index
,
value
)
Modify the ith element
public
[]
Vector
.
ToArray
Returns the current values to an array
public
[]
Vector
.
ToSortedArray
(
bool
descending
=
false
,
delegate
int
CompareDelegate
(
v1
,
v2
)
comparedelegate
=
null
)
Returns a new array in sorted order
public
[]
Vector
.
ToSortedArrayField
(
bool
descending
,
delegate
CompareFieldDelegate
(
value
)
comparedelegatefield
)
Returns a new array in sorted order