fullseye

cplx_contour_circle — MATH complex op

使い方

Sample a circle as a closed contour — the standard integration path.

Returns n complex points center + radius * exp(±i * 2*pi*k/n), k = 0..n-1. The closing segment z[-1] -> z[0] is implicit: the first point is not repeated (every contour op in this family closes the polygon itself; repeating it would only add a zero-length segment).

orientation is explicit because in complex analysis the sign of every result depends on it: 'ccw' (default) is the positive/mathematical direction — the one for which the residue theorem, the Cauchy formula and the argument principle carry a + sign — and 'cw' negates all three.

Honest limitation: this is a polygon through samples of the circle, not the circle. Its enclosed area is short by a factor sinc-like in 2*pi/n, and every quadrature on it converges as O(n^-2) (:func:cplx_contour_integral documents the measured rate).

Raises ValueError: non-finite center/radius, radius <= 0, n not an integer in [3, MAX_CONTOUR_POINTS] (a fail-closed size cap — n=10**9 would allocate 16 GB), unknown orientation.

HALCON: no complex-plane operator (gen_circle_contour_xld draws the same geometry as an XLD contour for image space).

ファミリ共通の入力契約(fail-closed)

mathops の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(cpoints を入力に取れる)

cplx_poly_eval · cplx_contour_integral · cplx_winding_number · cplx_cauchy_value · cplx_argument_principle · cplx_laurent_coeffs · cplx_joukowski · cplx_mobius

同カテゴリ(complex)

cplx_poly_eval · cplx_contour_integral · cplx_winding_number · cplx_cauchy_value · cplx_argument_principle · cplx_laurent_coeffs · cplx_joukowski · cplx_mobius


Provenance: mathops.py — MATH operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.