Operator Reference

tuple_acostuple_acosTupleAcosTupleAcostuple_acos (Operator)

tuple_acostuple_acosTupleAcosTupleAcostuple_acos — Compute the arccosine of a tuple.

Signature

tuple_acos( : : T : ACos)

Herror tuple_acos(double T, double* ACos)

Herror T_tuple_acos(const Htuple T, Htuple* ACos)

void TupleAcos(const HTuple& T, HTuple* ACos)

HTuple HTuple::TupleAcos() const

static void HOperatorSet.TupleAcos(HTuple t, out HTuple ACos)

HTuple HTuple.TupleAcos()

def tuple_acos(t: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_acos_s(t: MaybeSequence[Union[float, int]]) -> float

Description

tuple_acostuple_acosTupleAcosTupleAcostuple_acos computes the arccosine of the input tuple TTTtt. The arccosine is always returned as a floating point number in ACosACosACosACosacos. The angles in ACosACosACosACosacos are represented in radians. The arccosine of a string is not allowed.

Exception: Empty input tuple

If the input tuple is empty, the operator returns an empty tuple.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_acostuple_acosTupleAcosTupleAcostuple_acos, which can be used in an expression in the following syntax:

ACos := acos(T)

Execution Information

  • Multithreading type: independent (runs in parallel even with exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

TTTtt (input_control)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

Restriction: -1 <= T <= 1

ACosACosACosACosacos (output_control)  angle.rad(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Arccosine of the input tuple.

Alternatives

tuple_asintuple_asinTupleAsinTupleAsintuple_asin, tuple_atantuple_atanTupleAtanTupleAtantuple_atan, tuple_atan2tuple_atan2TupleAtan2TupleAtan2tuple_atan2

See also

tuple_costuple_cosTupleCosTupleCostuple_cos, tuple_coshtuple_coshTupleCoshTupleCoshtuple_cosh, tuple_acoshtuple_acoshTupleAcoshTupleAcoshtuple_acosh

Module

Foundation