Operator impl core
Core
01 Syntax
SMRUCC.Rsharp.Runtime.Vectorization.Core
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| op_In | 1 | The In operator |
| UnaryCoreInternal | 1 | Generic unary operator core for primitive type. |
| BinaryCoreInternal | 1 | this function just apply for the custom operator [Vector core] Generic binary operator core for numeric type. |
| VectorAlignment | 1 | 将所有的数组都转换为等长的数组 |
| op_In | 1 | |
| UnaryCoreInternal | 1 | |
| BinaryCoreInternal | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| op_Add | 1 | |
| op_Minus | 1 | |
| op_Multiply | 1 | |
| op_Divided | 1 | |
| op_Mod | 1 | |
| op_Power | 1 |
04 Members
op_In``1(
Object, IEnumerable(Of ``0))The In operator
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
x | Object | - |
collection | IEnumerable(Of ``0) | - |
UnaryCoreInternal``2(
Object, Func(Of Object, Object))Generic unary operator core for primitive type.
Type Parameters
| Name | Description |
|---|---|
T | |
TOut |
Parameters
| Name | Type | Description |
|---|---|---|
x | Object | - |
[do] | Func(Of Object, Object) | - |
this function just apply for the custom operator
[Vector core] Generic binary operator core for numeric type.
Remarks
the do delegate function should be used for measure two scalar element value:
op_evaluator = function(a,b,env) {...}
Type Parameters
| Name | Description |
|---|---|
TX | |
TY | |
TOut |
Parameters
| Name | Type | Description |
|---|---|---|
x | Object | - |
y | Object | - |
do | op_evaluator | - |
Returns
error message or array of TOut.
VectorAlignment(
Array())将所有的数组都转换为等长的数组
Parameters
| Name | Type | Description |
|---|---|---|
a | Array() | - |
op_Add
op_Minus
op_Multiply
op_Divided
op_Mod
op_Power
op_In(
Object, IEnumerable(Of T))UnaryCoreInternal(
Object, Func(Of Object, Object))