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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Differential calculus, Integration > intc

intc

Cauchy integral

Syntax

[y  [,err]] = intc(a, b, f [,abserr [,relerr]])

Arguments

a, b

two complex scalars

f

"external" function

abserr, rerr

real scalars, absolute and relative errors. Default values: 1.d-14 and 1d-8.

err

real number, estimated absolute error on the result.

Description

If f is a complex-valued function, intc(a, b, f) computes the integral from a to b of f(z)dz along the straight line [a b] of the complex plane.

Examples

function y=f(z)
  y = z^(3 + %pi * %i);
endfunction

intc(1+%i, 4-%i, f)

[r, err] = intc(1+%i, 4-%i, f, 1d-10, 1d-6)

See also

  • intg — definite integral
  • intl — Cauchy integral

History

VersionDescription
5.5.0 Absolute and relative (input) and absolute (output) errors management added.
Report an issue
<< int3d Differential calculus, Integration integrate >>

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:
Thu Feb 14 14:57:12 CET 2019