Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


imult

multiplication by i the imaginary unitary

Syntax

y = imult(x)

Arguments

x

real or complex scalar, vector or matrix

y

complex scalar, vector or matrix

Description

imult(x) is a more efficient way to multiply x by i than y = %i*x, without the problems occurring when x comprises "special" floating point numbers as %inf and %nan.

Examples

z1 = imult(%inf)
z2 = %i * %inf
Report an issue
<< imag Complex numbers isreal >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:49:15 CEST 2024