Vec_c.kl

Types

Vec_c (struct)

The Vec_c represents a dense vector.

/*
** Example: Vec_c
*/

// create a 7-element vector
Vec_c vec(7);

Members

Complex[] vals  

Methods

  Vec_c ( in Integer size )
  Vec_c ( in Vec_c that )
  Vec_c ()
Boolean almostEqual ? ( in Vec_c other )
Boolean almostEqual ? ( in Vec_c that, in Scalar precision )
  appendDesc ? ( io String string )
Vec_c clone ? ()
Complex dot ? ( in Vec_c that )
Boolean equal ? ( in Vec_c that )
Complex get ? ( in Integer ind )
UInt32 hash ? ()
Vec_c head ? ( in Integer n )
Complex length ? ()
Complex lengthSquared ? ()
Vec_c linearInterpolate ? ( in Vec_c that, in Complex t )
  normalize ! ()
  resize ! ( in Integer newSize )
  set ! ( in Integer ind, in Complex val )
  setAll ! ( in Complex val )
  setNull ! ()
Complex setUnit ! ()
Integer size ? ()
String sizeDesc ? ()
Vec_c sub ? ( in Integer s, in Integer e )
Vec_c unit ? ()
Integer validateSize ? ( in Vec_c that, in String desc )

Operators

  - Vec_c
Vec_c = ( Param other )