LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector Class Reference

test math blas vector functions More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector:

Public Member Functions

final void action (final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >> p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
 test all input actions More...
 
final void assignscalar ()
 test assign scalar More...
 
final void assignvector ()
 test assign vector More...
 
final void copy ()
 test copy More...
 
final void create ()
 test create More...
 
final void fromlist ()
 test fromlist More...
 
final void get ()
 test get More...
 
final void parse ()
 test parse More...
 
final void set ()
 test set More...
 
final void tolist ()
 test toList More...
 

Static Public Member Functions

static Object [] generator ()
 data provider generator More...
 

Static Private Member Functions

static Stream< Object > testcase (final Stream< Object > p_input, final Stream< Class<?>> p_classes, final Stream< Object >... p_classresult)
 method to generate test-cases More...
 

Static Private Attributes

static final DoubleMatrix1D VECTOR1 = new DenseDoubleMatrix1D( new double[]{2, 5, 3, 8} )
 testing vector More...
 
static final DoubleMatrix1D VECTOR2 = new DenseDoubleMatrix1D( new double[]{8, 6, 2, 1} )
 testing vector More...
 

Additional Inherited Members

- Static Protected Attributes inherited from org.lightjason.agentspeak.IBaseTest
static final boolean PRINTENABLE = Files.exists( Paths.get( "agentprinting.conf" ) )
 enable printing of test-data More...
 

Detailed Description

Definition at line 67 of file TestCActionMathBlasVector.java.

Member Function Documentation

◆ action()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.action ( final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >>  p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
Parameters
p_inputtripel input data, actions and results
Exceptions
IllegalAccessExceptionis thrwon on instantiation error
InstantiationExceptionis thrwon on instantiation error
NoSuchMethodExceptionis thrwon on instantiation error
InvocationTargetExceptionis thrwon on instantiation error

Definition at line 140 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, and org.lightjason.agentspeak.language.ITerm.raw().

+ Here is the call graph for this function:

◆ assignscalar()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.assignscalar ( )

Definition at line 225 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CAssign.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ assignvector()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.assignvector ( )

Definition at line 242 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CAssign.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ copy()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.copy ( )

Definition at line 279 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.CCopy.execute(), org.lightjason.agentspeak.language.CRawTerm< T >.from(), and org.lightjason.agentspeak.language.ITerm.raw().

+ Here is the call graph for this function:

◆ create()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.create ( )

Definition at line 162 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CCreate.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ fromlist()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.fromlist ( )

Definition at line 322 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.vector.CFromList.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ generator()

static Object [] org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.generator ( )
static
Returns
data

Definition at line 88 of file TestCActionMathBlasVector.java.

◆ get()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.get ( )

Definition at line 260 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CGet.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ parse()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.parse ( )

Definition at line 297 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CParse.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ set()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.set ( )

Definition at line 187 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CSet.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ testcase()

static Stream<Object> org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.testcase ( final Stream< Object >  p_input,
final Stream< Class<?>>  p_classes,
final Stream< Object >...  p_classresult 
)
staticprivate
Parameters
p_inputinput data
p_classesmatching test-classes / test-cases
p_classresultresult for each class
Returns
test-object

Definition at line 117 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ tolist()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.tolist ( )

Definition at line 204 of file TestCActionMathBlasVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.set.CToList.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

Member Data Documentation

◆ VECTOR1

final DoubleMatrix1D org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.VECTOR1 = new DenseDoubleMatrix1D( new double[]{2, 5, 3, 8} )
staticprivate
Note
static because of usage in data-provider

Definition at line 74 of file TestCActionMathBlasVector.java.

◆ VECTOR2

final DoubleMatrix1D org.lightjason.agentspeak.action.builtin.TestCActionMathBlasVector.VECTOR2 = new DenseDoubleMatrix1D( new double[]{8, 6, 2, 1} )
staticprivate
Note
static because of usage in data-provider

Definition at line 80 of file TestCActionMathBlasVector.java.