fn

is_conj

bool
is_conj(x: Tensor)
source

Predicate: does the tensor carry a lazy "conjugated" flag?

Some reference frameworks track complex conjugation as a lazy view flag. Lucid materialises every operation eagerly, so this predicate is always False.

Parameters

xTensor
Tensor to query.

Returns

bool

Always False.

Notes

See is_neg for the analogous discussion on lazy flag bits. Conjugation in Lucid is performed by lucid.conj, which produces a materialised result rather than toggling a flag.

Examples

>>> import lucid
>>> lucid.is_conj(lucid.tensor([1.0, 2.0]))
False