User Tools

Site Tools


01_user_documentation:07_rgg_xl:02_xl:10_rgg_addition:04_operator_overload:dataset

Dataset

The operator shl overload adding data to the dataset.

SHL

  • Dataset << Number add the number to the first column
  • Dataset << double[] add the array of double as a new row in the dataset.
dataset("test") << 1 << 2;
dataset("test") << 11 << 12;

this results in:

1 1 2
2 11 12
module A(float len, float fact);
protected void init ()
[
	Axiom ==> A(2,5) A(5,1) A(1,1);
]
 
public void run ()
{
 dataset("test") << (*a:A*).getId() << a[len] << a[fact] << a[len]*a[fact];
 
}
01_user_documentation/07_rgg_xl/02_xl/10_rgg_addition/04_operator_overload/dataset.txt ยท Last modified: 2026/03/27 17:32 by Tim