public override SuperArray Mod(SuperArray x, float scalar) { SuperArray rhs_arr = new SuperArray(x.Shape); rhs_arr.Fill(scalar); return(ExecuteReturn(GetFuncName("ndarr_mod", x.ElementType), new object[] { x, rhs_arr })); }
public override SuperArray NotEqual(SuperArray lhs, float rhs) { SuperArray rhs_arr = new SuperArray(lhs.Shape); rhs_arr.Fill(rhs); return(ExecuteReturn(GetFuncName("ndarr_ne", lhs.ElementType), lhs, rhs_arr)); }
public override SuperArray Div(float lhs, SuperArray rhs) { SuperArray lhs_arr = new SuperArray(rhs.Shape); lhs_arr.Fill(lhs); return(ExecuteReturn(GetFuncName("ndarr_div", rhs.ElementType), lhs_arr, rhs)); }