Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta example tests for vector and matrix types
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
BoolMatrix bool_matrix(2,1) | ||
bool_matrix[0,0]=false | ||
bool_matrix[1,0]=true | ||
|
||
ByteMatrix byte_matrix(2,1) | ||
byte_matrix[0,0]=0 | ||
byte_matrix[1,0]=1 | ||
|
||
WordMatrix word_matrix(2,1) | ||
word_matrix[0,0]=0 | ||
word_matrix[1,0]=1 | ||
|
||
IntMatrix int_matrix(2,1) | ||
int_matrix[0,0]=0 | ||
int_matrix[1,0]=1 | ||
|
||
LongIntMatrix long_int_matrix(2,1) | ||
long_int_matrix[0,0]=0 | ||
long_int_matrix[1,0]=1 | ||
|
||
ShortRealMatrix short_real_matrix(2,1) | ||
short_real_matrix[0,0]=0.1 | ||
short_real_matrix[1,0]=1.1 | ||
|
||
RealMatrix real_matrix(2,1) | ||
real_matrix[0,0]=0.1 | ||
real_matrix[1,0]=0.1 | ||
|
||
LongRealMatrix long_real_matrix(2,1) | ||
long_real_matrix[0,0]=0.1 | ||
long_real_matrix[1,0]=0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
BoolVector bool_vector(2) | ||
bool_vector[0]=false | ||
bool_vector[1]=true | ||
|
||
ByteVector byte_vector(2) | ||
byte_vector[0]=0 | ||
byte_vector[1]=1 | ||
|
||
WordVector word_vector(2) | ||
word_vector[0]=0 | ||
word_vector[1]=1 | ||
|
||
IntVector int_vector(2) | ||
int_vector[0]=0 | ||
int_vector[1]=1 | ||
|
||
LongIntVector long_int_vector(2) | ||
long_int_vector[0]=0 | ||
long_int_vector[1]=1 | ||
|
||
ShortRealVector short_real_vector(2) | ||
short_real_vector[0]=0.1 | ||
short_real_vector[1]=1.1 | ||
|
||
RealVector real_vector(2) | ||
real_vector[0]=0.1 | ||
real_vector[1]=0.1 | ||
|
||
LongRealVector long_real_vector(2) | ||
long_real_vector[0]=0.1 | ||
long_real_vector[1]=0.1 |