| 1 | # |
| 2 | # GENERATED WITH PDL::PP from lib/PDL/LinearAlgebra/Complex.pd! Don't modify! |
| 3 | # |
| 4 | package PDL::LinearAlgebra::Complex; |
| 5 | |
| 6 | our @EXPORT_OK = qw(cgtsv cgesvd cgesdd cggsvd cgeev cgeevx cggev cggevx cgees cgeesx cgges cggesx cheev cheevd cheevx cheevr chegv chegvd chegvx cgesv cgesvx csysv csysvx chesv chesvx cposv cposvx cgels cgelsy cgelss cgelsd cgglse cggglm cgetrf cgetf2 csytrf csytf2 cchetrf chetf2 cpotrf cpotf2 cgetri csytri chetri cpotri ctrtri ctrti2 cgetrs csytrs chetrs cpotrs ctrtrs clatrs cgecon csycon checon cpocon ctrcon cgeqp3 cgeqrf cungqr cunmqr cgelqf cunglq cunmlq cgeqlf cungql cunmql cgerqf cungrq cunmrq ctzrzf cunmrz cgehrd cunghr chseqr ctrevc ctgevc cgebal clange clansy clantr cgemm cmmult ccrossprod csyrk cdot cdotc caxpy cnrm2 casum cscal csscal crotg clacpy claswp ccharpol ); |
| 7 | our %EXPORT_TAGS = (Func=>\@EXPORT_OK); |
| 8 | |
| 9 | use PDL::Core; |
| 10 | use PDL::Exporter; |
| 11 | use DynaLoader; |
| 12 | |
| 13 | |
| 14 | our $VERSION = '0.437'; |
| 15 | our @ISA = ( 'PDL::Exporter','DynaLoader' ); |
| 16 | push @PDL::Core::PP, __PACKAGE__; |
| 17 | bootstrap PDL::LinearAlgebra::Complex $VERSION; |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | #line 73 "lib/PDL/LinearAlgebra/Complex.pd" |
| 27 | |
| 28 | use strict; |
| 29 | use PDL::LinearAlgebra::Real; |
| 30 | |
| 31 | =encoding utf8 |
| 32 | |
| 33 | =head1 NAME |
| 34 | |
| 35 | PDL::LinearAlgebra::Complex - PDL interface to the lapack linear algebra programming library (complex number) |
| 36 | |
| 37 | =head1 SYNOPSIS |
| 38 | |
| 39 | use PDL; |
| 40 | use PDL::LinearAlgebra::Complex; |
| 41 | $a = random(cdouble, 100, 100); |
| 42 | $s = zeroes(cdouble, 100); |
| 43 | $u = zeroes(cdouble, 100, 100); |
| 44 | $v = zeroes(cdouble, 100, 100); |
| 45 | $info = 0; |
| 46 | $job = 0; |
| 47 | cgesdd($a, $job, $info, $s , $u, $v); |
| 48 | |
| 49 | =head1 DESCRIPTION |
| 50 | |
| 51 | This module provides an interface to parts of the lapack library (complex numbers). |
| 52 | These routines accept either float or double ndarrays. |
| 53 | |
| 54 | =cut |
| 55 | #line 56 "lib/PDL/LinearAlgebra/Complex.pm" |
| 56 | |
| 57 | |
| 58 | =head1 FUNCTIONS |
| 59 | |
| 60 | =cut |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | =head2 cgtsv |
| 68 | |
| 69 | =for sig |
| 70 | |
| 71 | Signature: (complex [io]DL(n);complex [io]D(n);complex [io]DU(n);complex [io]B(n,nrhs); int [o]info()) |
| 72 | Types: (float double) |
| 73 | |
| 74 | =for usage |
| 75 | |
| 76 | $info = cgtsv($DL, $D, $DU, $B); |
| 77 | cgtsv($DL, $D, $DU, $B, $info); # all arguments given |
| 78 | $info = $DL->cgtsv($D, $DU, $B); # method call |
| 79 | $DL->cgtsv($D, $DU, $B, $info); |
| 80 | |
| 81 | =for ref |
| 82 | |
| 83 | Solves the equation |
| 84 | |
| 85 | A * X = B |
| 86 | |
| 87 | where A is an C<n> by C<n> tridiagonal matrix, by Gaussian elimination with |
| 88 | partial pivoting, and B is an C<n> by C<nrhs> matrix. |
| 89 | |
| 90 | Note that the equation C<A**T*X = B> may be solved by interchanging the |
| 91 | order of the arguments DU and DL. |
| 92 | |
| 93 | B<NB> This differs from the LINPACK function C<cgtsl> in that C<DL> |
| 94 | starts from its first element, while the LINPACK equivalent starts from |
| 95 | its second element. |
| 96 | |
| 97 | Arguments |
| 98 | ========= |
| 99 | |
| 100 | DL: On entry, DL must contain the (n-1) sub-diagonal elements of A. |
| 101 | |
| 102 | On exit, DL is overwritten by the (n-2) elements of the |
| 103 | second super-diagonal of the upper triangular matrix U from |
| 104 | the LU factorization of A, in DL(1), ..., DL(n-2). |
| 105 | |
| 106 | D: On entry, D must contain the diagonal elements of A. |
| 107 | |
| 108 | On exit, D is overwritten by the n diagonal elements of U. |
| 109 | |
| 110 | DU: On entry, DU must contain the (n-1) super-diagonal elements of A. |
| 111 | |
| 112 | On exit, DU is overwritten by the (n-1) elements of the |
| 113 | first super-diagonal of the U. |
| 114 | |
| 115 | B: On entry, the n by nrhs matrix of right hand side matrix B. |
| 116 | On exit, if info = 0, the n by nrhs solution matrix X. |
| 117 | |
| 118 | info: = 0: successful exit |
| 119 | < 0: if info = -i, the i-th argument had an illegal value |
| 120 | > 0: if info = i, U(i,i) is exactly zero, and the solution |
| 121 | has not been computed. The factorization has not been |
| 122 | completed unless i = n. |
| 123 | |
| 124 | =for example |
| 125 | |
| 126 | $dl = random(float, 9) + random(float, 9) * i; |
| 127 | $d = random(float, 10) + random(float, 10) * i; |
| 128 | $du = random(float, 9) + random(float, 9) * i; |
| 129 | $b = random(10,5) + random(10,5) * i; |
| 130 | cgtsv($dl, $d, $du, $b, ($info=null)); |
| 131 | print "X is:\n$b" unless $info; |
| 132 | |
| 133 | =pod |
| 134 | |
| 135 | Broadcasts over its inputs. |
| 136 | |
| 137 | =for bad |
| 138 | |
| 139 | C<cgtsv> ignores the bad-value flag of the input ndarrays. |
| 140 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 141 | |
| 142 | =cut |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | *cgtsv = \&PDL::cgtsv; |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | =head2 cgesvd |
| 155 | |
| 156 | =for sig |
| 157 | |
| 158 | Signature: (complex [io]A(m,n); [o]s(minmn=CALC(PDLMIN($SIZE(m),$SIZE(n))));complex [o]U(p,p);complex [o]VT(s,s); int [o]info(); [t]rwork(rworkn=CALC(5*$SIZE(minmn))); int jobu; int jobvt) |
| 159 | Types: (float double) |
| 160 | |
| 161 | =for usage |
| 162 | |
| 163 | ($s, $U, $VT, $info) = cgesvd($A, $jobu, $jobvt); |
| 164 | cgesvd($A, $jobu, $jobvt, $s, $U, $VT, $info); # all arguments given |
| 165 | ($s, $U, $VT, $info) = $A->cgesvd($jobu, $jobvt); # method call |
| 166 | $A->cgesvd($jobu, $jobvt, $s, $U, $VT, $info); |
| 167 | |
| 168 | =for ref |
| 169 | |
| 170 | Complex version of L<PDL::LinearAlgebra::Real/gesvd>. |
| 171 | |
| 172 | The SVD is written |
| 173 | |
| 174 | A = U * SIGMA * ConjugateTranspose(V) |
| 175 | |
| 176 | =pod |
| 177 | |
| 178 | Broadcasts over its inputs. |
| 179 | |
| 180 | =for bad |
| 181 | |
| 182 | C<cgesvd> ignores the bad-value flag of the input ndarrays. |
| 183 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 184 | |
| 185 | =cut |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | *cgesvd = \&PDL::cgesvd; |
| 191 | |
| 192 | |
| 193 | |
| 194 | |
| 195 | |
| 196 | |
| 197 | =head2 cgesdd |
| 198 | |
| 199 | =for sig |
| 200 | |
| 201 | Signature: (complex [io]A(m,n); [o]s(minmn=CALC(PDLMIN($SIZE(m),$SIZE(n))));complex [o]U(p,p);complex [o]VT(s,s); int [o]info(); int [t]iwork(iworkn); int jobz) |
| 202 | Types: (float double) |
| 203 | |
| 204 | =for usage |
| 205 | |
| 206 | ($s, $U, $VT, $info) = cgesdd($A, $jobz); |
| 207 | cgesdd($A, $jobz, $s, $U, $VT, $info); # all arguments given |
| 208 | ($s, $U, $VT, $info) = $A->cgesdd($jobz); # method call |
| 209 | $A->cgesdd($jobz, $s, $U, $VT, $info); |
| 210 | |
| 211 | =for ref |
| 212 | |
| 213 | Complex version of L<PDL::LinearAlgebra::Real/gesdd>. |
| 214 | |
| 215 | The SVD is written |
| 216 | |
| 217 | A = U * SIGMA * ConjugateTranspose(V) |
| 218 | |
| 219 | =pod |
| 220 | |
| 221 | Broadcasts over its inputs. |
| 222 | |
| 223 | =for bad |
| 224 | |
| 225 | C<cgesdd> ignores the bad-value flag of the input ndarrays. |
| 226 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 227 | |
| 228 | =cut |
| 229 | |
| 230 | |
| 231 | |
| 232 | |
| 233 | *cgesdd = \&PDL::cgesdd; |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 | |
| 239 | |
| 240 | =head2 cggsvd |
| 241 | |
| 242 | =for sig |
| 243 | |
| 244 | Signature: (complex [io]A(m,n);complex [io]B(p,n); int [o]k(); int [o]l();[o]alpha(n);[o]beta(n);complex [o]U(q,q);complex [o]V(r,r);complex [o]Q(s,s); int [o]iwork(n); int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n))); int jobu; int jobv; int jobq) |
| 245 | Types: (float double) |
| 246 | |
| 247 | =for usage |
| 248 | |
| 249 | ($k, $l, $alpha, $beta, $U, $V, $Q, $iwork, $info) = cggsvd($A, $jobu, $jobv, $jobq, $B); |
| 250 | cggsvd($A, $jobu, $jobv, $jobq, $B, $k, $l, $alpha, $beta, $U, $V, $Q, $iwork, $info); # all arguments given |
| 251 | ($k, $l, $alpha, $beta, $U, $V, $Q, $iwork, $info) = $A->cggsvd($jobu, $jobv, $jobq, $B); # method call |
| 252 | $A->cggsvd($jobu, $jobv, $jobq, $B, $k, $l, $alpha, $beta, $U, $V, $Q, $iwork, $info); |
| 253 | |
| 254 | =for ref |
| 255 | |
| 256 | Complex version of L<PDL::LinearAlgebra::Real/ggsvd> |
| 257 | |
| 258 | =pod |
| 259 | |
| 260 | Broadcasts over its inputs. |
| 261 | |
| 262 | =for bad |
| 263 | |
| 264 | C<cggsvd> ignores the bad-value flag of the input ndarrays. |
| 265 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 266 | |
| 267 | =cut |
| 268 | |
| 269 | |
| 270 | |
| 271 | |
| 272 | *cggsvd = \&PDL::cggsvd; |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | =head2 cgeev |
| 280 | |
| 281 | =for sig |
| 282 | |
| 283 | Signature: (complex [io]A(n,n);complex [o]w(n);complex [o]vl(m,m);complex [o]vr(p,p); int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n))); int jobvl; int jobvr) |
| 284 | Types: (float double) |
| 285 | |
| 286 | =for usage |
| 287 | |
| 288 | ($w, $vl, $vr, $info) = cgeev($A, $jobvl, $jobvr); |
| 289 | cgeev($A, $jobvl, $jobvr, $w, $vl, $vr, $info); # all arguments given |
| 290 | ($w, $vl, $vr, $info) = $A->cgeev($jobvl, $jobvr); # method call |
| 291 | $A->cgeev($jobvl, $jobvr, $w, $vl, $vr, $info); |
| 292 | |
| 293 | =for ref |
| 294 | |
| 295 | Complex version of L<PDL::LinearAlgebra::Real/geev> |
| 296 | |
| 297 | =pod |
| 298 | |
| 299 | Broadcasts over its inputs. |
| 300 | |
| 301 | =for bad |
| 302 | |
| 303 | C<cgeev> ignores the bad-value flag of the input ndarrays. |
| 304 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 305 | |
| 306 | =cut |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | *cgeev = \&PDL::cgeev; |
| 312 | |
| 313 | |
| 314 | |
| 315 | |
| 316 | |
| 317 | |
| 318 | =head2 cgeevx |
| 319 | |
| 320 | =for sig |
| 321 | |
| 322 | Signature: (complex [io]A(n,n);complex [o]w(n);complex [o]vl(m,m);complex [o]vr(p,p); int [o]ilo(); int [o]ihi(); [o]scale(n); [o]abnrm(); [o]rconde(q); [o]rcondv(r); int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n))); int jobvl; int jobvr; int balance; int sense) |
| 323 | Types: (float double) |
| 324 | |
| 325 | =for usage |
| 326 | |
| 327 | ($w, $vl, $vr, $ilo, $ihi, $scale, $abnrm, $rconde, $rcondv, $info) = cgeevx($A, $jobvl, $jobvr, $balance, $sense); |
| 328 | cgeevx($A, $jobvl, $jobvr, $balance, $sense, $w, $vl, $vr, $ilo, $ihi, $scale, $abnrm, $rconde, $rcondv, $info); # all arguments given |
| 329 | ($w, $vl, $vr, $ilo, $ihi, $scale, $abnrm, $rconde, $rcondv, $info) = $A->cgeevx($jobvl, $jobvr, $balance, $sense); # method call |
| 330 | $A->cgeevx($jobvl, $jobvr, $balance, $sense, $w, $vl, $vr, $ilo, $ihi, $scale, $abnrm, $rconde, $rcondv, $info); |
| 331 | |
| 332 | =for ref |
| 333 | |
| 334 | Complex version of L<PDL::LinearAlgebra::Real/geevx> |
| 335 | |
| 336 | =pod |
| 337 | |
| 338 | Broadcasts over its inputs. |
| 339 | |
| 340 | =for bad |
| 341 | |
| 342 | C<cgeevx> ignores the bad-value flag of the input ndarrays. |
| 343 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 344 | |
| 345 | =cut |
| 346 | |
| 347 | |
| 348 | |
| 349 | |
| 350 | *cgeevx = \&PDL::cgeevx; |
| 351 | |
| 352 | |
| 353 | |
| 354 | |
| 355 | |
| 356 | |
| 357 | =head2 cggev |
| 358 | |
| 359 | =for sig |
| 360 | |
| 361 | Signature: (complex [io]A(n,n);complex [io]B(n,n);complex [o]alpha(n);complex [o]beta(n);complex [o]VL(m,m);complex [o]VR(p,p);int [o]info(); [t]rwork(rworkn=CALC(8*$SIZE(n))); int jobvl; int jobvr) |
| 362 | Types: (float double) |
| 363 | |
| 364 | =for usage |
| 365 | |
| 366 | ($alpha, $beta, $VL, $VR, $info) = cggev($A, $jobvl, $jobvr, $B); |
| 367 | cggev($A, $jobvl, $jobvr, $B, $alpha, $beta, $VL, $VR, $info); # all arguments given |
| 368 | ($alpha, $beta, $VL, $VR, $info) = $A->cggev($jobvl, $jobvr, $B); # method call |
| 369 | $A->cggev($jobvl, $jobvr, $B, $alpha, $beta, $VL, $VR, $info); |
| 370 | |
| 371 | =for ref |
| 372 | |
| 373 | Complex version of L<PDL::LinearAlgebra::Real/ggev> |
| 374 | |
| 375 | =pod |
| 376 | |
| 377 | Broadcasts over its inputs. |
| 378 | |
| 379 | =for bad |
| 380 | |
| 381 | C<cggev> ignores the bad-value flag of the input ndarrays. |
| 382 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 383 | |
| 384 | =cut |
| 385 | |
| 386 | |
| 387 | |
| 388 | |
| 389 | *cggev = \&PDL::cggev; |
| 390 | |
| 391 | |
| 392 | |
| 393 | |
| 394 | |
| 395 | |
| 396 | =head2 cggevx |
| 397 | |
| 398 | =for sig |
| 399 | |
| 400 | Signature: (complex [io]A(n,n);complex [io]B(n,n);complex [o]alpha(n);complex [o]beta(n);complex [o]VL(m,m);complex [o]VR(p,p);int [o]ilo();int [o]ihi();[o]lscale(n);[o]rscale(n);[o]abnrm();[o]bbnrm();[o]rconde(r);[o]rcondv(s);int [o]info(); [t]rwork(rworkn=CALC(6*$SIZE(n))); int [t]bwork(bworkn); int [t]iwork(iworkn); int balanc; int jobvl; int jobvr; int sense) |
| 401 | Types: (float double) |
| 402 | |
| 403 | =for usage |
| 404 | |
| 405 | ($alpha, $beta, $VL, $VR, $ilo, $ihi, $lscale, $rscale, $abnrm, $bbnrm, $rconde, $rcondv, $info) = cggevx($A, $balanc, $jobvl, $jobvr, $sense, $B); |
| 406 | cggevx($A, $balanc, $jobvl, $jobvr, $sense, $B, $alpha, $beta, $VL, $VR, $ilo, $ihi, $lscale, $rscale, $abnrm, $bbnrm, $rconde, $rcondv, $info); # all arguments given |
| 407 | ($alpha, $beta, $VL, $VR, $ilo, $ihi, $lscale, $rscale, $abnrm, $bbnrm, $rconde, $rcondv, $info) = $A->cggevx($balanc, $jobvl, $jobvr, $sense, $B); # method call |
| 408 | $A->cggevx($balanc, $jobvl, $jobvr, $sense, $B, $alpha, $beta, $VL, $VR, $ilo, $ihi, $lscale, $rscale, $abnrm, $bbnrm, $rconde, $rcondv, $info); |
| 409 | |
| 410 | =for ref |
| 411 | |
| 412 | Complex version of L<PDL::LinearAlgebra::Real/ggevx> |
| 413 | |
| 414 | =pod |
| 415 | |
| 416 | Broadcasts over its inputs. |
| 417 | |
| 418 | =for bad |
| 419 | |
| 420 | C<cggevx> ignores the bad-value flag of the input ndarrays. |
| 421 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 422 | |
| 423 | =cut |
| 424 | |
| 425 | |
| 426 | |
| 427 | |
| 428 | *cggevx = \&PDL::cggevx; |
| 429 | |
| 430 | |
| 431 | |
| 432 | |
| 433 | |
| 434 | |
| 435 | =head2 cgees |
| 436 | |
| 437 | =for sig |
| 438 | |
| 439 | Signature: (complex [io]A(n,n);complex [o]w(n);complex [o]vs(p,p); int [o]sdim(); int [o]info(); [t]rwork(n); int [t]bwork(bworkn); int jobvs; int sort; SV* select_func) |
| 440 | Types: (float double) |
| 441 | |
| 442 | =for usage |
| 443 | |
| 444 | ($w, $vs, $sdim, $info) = cgees($A, $jobvs, $sort, $select_func); |
| 445 | cgees($A, $jobvs, $sort, $select_func, $w, $vs, $sdim, $info); # all arguments given |
| 446 | ($w, $vs, $sdim, $info) = $A->cgees($jobvs, $sort, $select_func); # method call |
| 447 | $A->cgees($jobvs, $sort, $select_func, $w, $vs, $sdim, $info); |
| 448 | |
| 449 | =for ref |
| 450 | |
| 451 | Complex version of L<PDL::LinearAlgebra::Real/gees> |
| 452 | |
| 453 | select_func: |
| 454 | If sort = 1, select_func is used to select eigenvalues to sort |
| 455 | to the top left of the Schur form. |
| 456 | If sort = 0, select_func is not referenced. |
| 457 | An complex eigenvalue w is selected if |
| 458 | select_func(complex(w)) is true; |
| 459 | Note that a selected complex eigenvalue may no longer |
| 460 | satisfy select_func(complex(w)) = 1 after ordering, since |
| 461 | ordering may change the value of complex eigenvalues |
| 462 | (especially if the eigenvalue is ill-conditioned); in this |
| 463 | case info is set to N+2. |
| 464 | |
| 465 | =pod |
| 466 | |
| 467 | Broadcasts over its inputs. |
| 468 | |
| 469 | =for bad |
| 470 | |
| 471 | C<cgees> ignores the bad-value flag of the input ndarrays. |
| 472 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 473 | |
| 474 | =cut |
| 475 | |
| 476 | |
| 477 | |
| 478 | |
| 479 | *cgees = \&PDL::cgees; |
| 480 | |
| 481 | |
| 482 | |
| 483 | |
| 484 | |
| 485 | |
| 486 | =head2 cgeesx |
| 487 | |
| 488 | =for sig |
| 489 | |
| 490 | Signature: (complex [io]A(n,n);complex [o]w(n);complex [o]vs(p,p); int [o]sdim(); [o]rconde();[o]rcondv(); int [o]info(); [t]rwork(n); int [t]bwork(bworkn); int jobvs; int sort; int sense; SV* select_func) |
| 491 | Types: (float double) |
| 492 | |
| 493 | =for usage |
| 494 | |
| 495 | ($w, $vs, $sdim, $rconde, $rcondv, $info) = cgeesx($A, $jobvs, $sort, $sense, $select_func); |
| 496 | cgeesx($A, $jobvs, $sort, $sense, $select_func, $w, $vs, $sdim, $rconde, $rcondv, $info); # all arguments given |
| 497 | ($w, $vs, $sdim, $rconde, $rcondv, $info) = $A->cgeesx($jobvs, $sort, $sense, $select_func); # method call |
| 498 | $A->cgeesx($jobvs, $sort, $sense, $select_func, $w, $vs, $sdim, $rconde, $rcondv, $info); |
| 499 | |
| 500 | =for ref |
| 501 | |
| 502 | Complex version of L<PDL::LinearAlgebra::Real/geesx> |
| 503 | |
| 504 | select_func: |
| 505 | If sort = 1, select_func is used to select eigenvalues to sort |
| 506 | to the top left of the Schur form. |
| 507 | If sort = 0, select_func is not referenced. |
| 508 | An complex eigenvalue w is selected if |
| 509 | select_func(complex(w)) is true; |
| 510 | Note that a selected complex eigenvalue may no longer |
| 511 | satisfy select_func(complex(w)) = 1 after ordering, since |
| 512 | ordering may change the value of complex eigenvalues |
| 513 | (especially if the eigenvalue is ill-conditioned); in this |
| 514 | case info is set to N+2. |
| 515 | |
| 516 | =pod |
| 517 | |
| 518 | Broadcasts over its inputs. |
| 519 | |
| 520 | =for bad |
| 521 | |
| 522 | C<cgeesx> ignores the bad-value flag of the input ndarrays. |
| 523 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 524 | |
| 525 | =cut |
| 526 | |
| 527 | |
| 528 | |
| 529 | |
| 530 | *cgeesx = \&PDL::cgeesx; |
| 531 | |
| 532 | |
| 533 | |
| 534 | |
| 535 | |
| 536 | |
| 537 | =head2 cgges |
| 538 | |
| 539 | =for sig |
| 540 | |
| 541 | Signature: (complex [io]A(n,n);complex [io]B(n,n);complex [o]alpha(n);complex [o]beta(n);complex [o]VSL(m,m);complex [o]VSR(p,p);int [o]sdim();int [o]info(); [t]rwork(rworkn=CALC(8*$SIZE(n))); int [t]bwork(bworkn); int jobvsl; int jobvsr; int sort; SV* select_func) |
| 542 | Types: (float double) |
| 543 | |
| 544 | =for usage |
| 545 | |
| 546 | ($alpha, $beta, $VSL, $VSR, $sdim, $info) = cgges($A, $jobvsl, $jobvsr, $sort, $B, $select_func); |
| 547 | cgges($A, $jobvsl, $jobvsr, $sort, $B, $select_func, $alpha, $beta, $VSL, $VSR, $sdim, $info); # all arguments given |
| 548 | ($alpha, $beta, $VSL, $VSR, $sdim, $info) = $A->cgges($jobvsl, $jobvsr, $sort, $B, $select_func); # method call |
| 549 | $A->cgges($jobvsl, $jobvsr, $sort, $B, $select_func, $alpha, $beta, $VSL, $VSR, $sdim, $info); |
| 550 | |
| 551 | =for ref |
| 552 | |
| 553 | Complex version of L<PDL::LinearAlgebra::Real/ggees> |
| 554 | |
| 555 | select_func: |
| 556 | If sort = 1, select_func is used to select eigenvalues to sort |
| 557 | to the top left of the Schur form. |
| 558 | If sort = 0, select_func is not referenced. |
| 559 | An eigenvalue w = w/beta is selected if |
| 560 | select_func(complex(w), complex(beta)) is true; |
| 561 | Note that a selected complex eigenvalue may no longer |
| 562 | satisfy select_func(complex(w),complex(beta)) = 1 after ordering, since |
| 563 | ordering may change the value of complex eigenvalues |
| 564 | (especially if the eigenvalue is ill-conditioned); in this |
| 565 | case info is set to N+2. |
| 566 | |
| 567 | =pod |
| 568 | |
| 569 | Broadcasts over its inputs. |
| 570 | |
| 571 | =for bad |
| 572 | |
| 573 | C<cgges> ignores the bad-value flag of the input ndarrays. |
| 574 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 575 | |
| 576 | =cut |
| 577 | |
| 578 | |
| 579 | |
| 580 | |
| 581 | *cgges = \&PDL::cgges; |
| 582 | |
| 583 | |
| 584 | |
| 585 | |
| 586 | |
| 587 | |
| 588 | =head2 cggesx |
| 589 | |
| 590 | =for sig |
| 591 | |
| 592 | Signature: (complex [io]A(n,n);complex [io]B(n,n);complex [o]alpha(n);complex [o]beta(n);complex [o]VSL(m,m);complex [o]VSR(p,p);int [o]sdim();[o]rconde(q=2);[o]rcondv(q=2);int [o]info(); [t]rwork(rworkn=CALC(8*$SIZE(n))); int [t]bwork(bworkn); int [t]iwork(iworkn=CALC($SIZE(n)+2)); int jobvsl; int jobvsr; int sort; int sense; SV* select_func) |
| 593 | Types: (float double) |
| 594 | |
| 595 | =for usage |
| 596 | |
| 597 | ($alpha, $beta, $VSL, $VSR, $sdim, $rconde, $rcondv, $info) = cggesx($A, $jobvsl, $jobvsr, $sort, $sense, $B, $select_func); |
| 598 | cggesx($A, $jobvsl, $jobvsr, $sort, $sense, $B, $select_func, $alpha, $beta, $VSL, $VSR, $sdim, $rconde, $rcondv, $info); # all arguments given |
| 599 | ($alpha, $beta, $VSL, $VSR, $sdim, $rconde, $rcondv, $info) = $A->cggesx($jobvsl, $jobvsr, $sort, $sense, $B, $select_func); # method call |
| 600 | $A->cggesx($jobvsl, $jobvsr, $sort, $sense, $B, $select_func, $alpha, $beta, $VSL, $VSR, $sdim, $rconde, $rcondv, $info); |
| 601 | |
| 602 | =for ref |
| 603 | |
| 604 | Complex version of L<PDL::LinearAlgebra::Real/ggeesx> |
| 605 | |
| 606 | select_func: |
| 607 | If sort = 1, select_func is used to select eigenvalues to sort |
| 608 | to the top left of the Schur form. |
| 609 | If sort = 0, select_func is not referenced. |
| 610 | An eigenvalue w = w/beta is selected if |
| 611 | select_func(complex(w), complex(beta)) is true; |
| 612 | Note that a selected complex eigenvalue may no longer |
| 613 | satisfy select_func(complex(w),complex(beta)) = 1 after ordering, since |
| 614 | ordering may change the value of complex eigenvalues |
| 615 | (especially if the eigenvalue is ill-conditioned); in this |
| 616 | case info is set to N+3. |
| 617 | |
| 618 | =pod |
| 619 | |
| 620 | Broadcasts over its inputs. |
| 621 | |
| 622 | =for bad |
| 623 | |
| 624 | C<cggesx> ignores the bad-value flag of the input ndarrays. |
| 625 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 626 | |
| 627 | =cut |
| 628 | |
| 629 | |
| 630 | |
| 631 | |
| 632 | *cggesx = \&PDL::cggesx; |
| 633 | |
| 634 | |
| 635 | |
| 636 | |
| 637 | |
| 638 | |
| 639 | =head2 cheev |
| 640 | |
| 641 | =for sig |
| 642 | |
| 643 | Signature: (complex [io]A(n,n); int jobz(); int uplo(); [o]w(n); int [o]info(); [t]rwork(rworkn=CALC(3*($SIZE(n)-2)))) |
| 644 | Types: (float double) |
| 645 | |
| 646 | =for usage |
| 647 | |
| 648 | ($w, $info) = cheev($A, $jobz, $uplo); |
| 649 | cheev($A, $jobz, $uplo, $w, $info); # all arguments given |
| 650 | ($w, $info) = $A->cheev($jobz, $uplo); # method call |
| 651 | $A->cheev($jobz, $uplo, $w, $info); |
| 652 | |
| 653 | =for ref |
| 654 | |
| 655 | Complex version of L<PDL::LinearAlgebra::Real/syev> for Hermitian matrix |
| 656 | |
| 657 | =pod |
| 658 | |
| 659 | Broadcasts over its inputs. |
| 660 | |
| 661 | =for bad |
| 662 | |
| 663 | C<cheev> ignores the bad-value flag of the input ndarrays. |
| 664 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 665 | |
| 666 | =cut |
| 667 | |
| 668 | |
| 669 | |
| 670 | |
| 671 | *cheev = \&PDL::cheev; |
| 672 | |
| 673 | |
| 674 | |
| 675 | |
| 676 | |
| 677 | |
| 678 | =head2 cheevd |
| 679 | |
| 680 | =for sig |
| 681 | |
| 682 | Signature: (complex [io]A(n,n); int jobz(); int uplo(); [o]w(n); int [o]info()) |
| 683 | Types: (float double) |
| 684 | |
| 685 | =for usage |
| 686 | |
| 687 | ($w, $info) = cheevd($A, $jobz, $uplo); |
| 688 | cheevd($A, $jobz, $uplo, $w, $info); # all arguments given |
| 689 | ($w, $info) = $A->cheevd($jobz, $uplo); # method call |
| 690 | $A->cheevd($jobz, $uplo, $w, $info); |
| 691 | |
| 692 | =for ref |
| 693 | |
| 694 | Complex version of L<PDL::LinearAlgebra::Real/syevd> for Hermitian matrix |
| 695 | |
| 696 | =pod |
| 697 | |
| 698 | Broadcasts over its inputs. |
| 699 | |
| 700 | =for bad |
| 701 | |
| 702 | C<cheevd> ignores the bad-value flag of the input ndarrays. |
| 703 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 704 | |
| 705 | =cut |
| 706 | |
| 707 | |
| 708 | |
| 709 | |
| 710 | *cheevd = \&PDL::cheevd; |
| 711 | |
| 712 | |
| 713 | |
| 714 | |
| 715 | |
| 716 | |
| 717 | =head2 cheevx |
| 718 | |
| 719 | =for sig |
| 720 | |
| 721 | Signature: (complex [io]A(n,n); vl(); vu(); int il(); int iu(); abstol(); int [o]m(); [o]w(n);complex [o]z(p,p);int [o]ifail(n); int [o]info(); [t]rwork(rworkn=CALC(7*$SIZE(n))); int [t]iwork(iworkn=CALC(5*$SIZE(n))); int jobz; int range; int uplo) |
| 722 | Types: (float double) |
| 723 | |
| 724 | =for usage |
| 725 | |
| 726 | ($m, $w, $z, $ifail, $info) = cheevx($A, $jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol); |
| 727 | cheevx($A, $jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol, $m, $w, $z, $ifail, $info); # all arguments given |
| 728 | ($m, $w, $z, $ifail, $info) = $A->cheevx($jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol); # method call |
| 729 | $A->cheevx($jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol, $m, $w, $z, $ifail, $info); |
| 730 | |
| 731 | =for ref |
| 732 | |
| 733 | Complex version of L<PDL::LinearAlgebra::Real/syevx> for Hermitian matrix |
| 734 | |
| 735 | =pod |
| 736 | |
| 737 | Broadcasts over its inputs. |
| 738 | |
| 739 | =for bad |
| 740 | |
| 741 | C<cheevx> ignores the bad-value flag of the input ndarrays. |
| 742 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 743 | |
| 744 | =cut |
| 745 | |
| 746 | |
| 747 | |
| 748 | |
| 749 | *cheevx = \&PDL::cheevx; |
| 750 | |
| 751 | |
| 752 | |
| 753 | |
| 754 | |
| 755 | |
| 756 | =head2 cheevr |
| 757 | |
| 758 | =for sig |
| 759 | |
| 760 | Signature: (complex [io]A(n,n); int jobz(); int range(); int uplo(); vl(); vu(); int il(); int iu(); abstol(); int [o]m(); [o]w(n);complex [o]z(p,q);int [o]isuppz(r); int [o]info()) |
| 761 | Types: (float double) |
| 762 | |
| 763 | =for usage |
| 764 | |
| 765 | ($m, $w, $z, $isuppz, $info) = cheevr($A, $jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol); |
| 766 | cheevr($A, $jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol, $m, $w, $z, $isuppz, $info); # all arguments given |
| 767 | ($m, $w, $z, $isuppz, $info) = $A->cheevr($jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol); # method call |
| 768 | $A->cheevr($jobz, $range, $uplo, $vl, $vu, $il, $iu, $abstol, $m, $w, $z, $isuppz, $info); |
| 769 | |
| 770 | =for ref |
| 771 | |
| 772 | Complex version of L<PDL::LinearAlgebra::Real/syevr> for Hermitian matrix |
| 773 | |
| 774 | =pod |
| 775 | |
| 776 | Broadcasts over its inputs. |
| 777 | |
| 778 | =for bad |
| 779 | |
| 780 | C<cheevr> ignores the bad-value flag of the input ndarrays. |
| 781 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 782 | |
| 783 | =cut |
| 784 | |
| 785 | |
| 786 | |
| 787 | |
| 788 | *cheevr = \&PDL::cheevr; |
| 789 | |
| 790 | |
| 791 | |
| 792 | |
| 793 | |
| 794 | |
| 795 | =head2 chegv |
| 796 | |
| 797 | =for sig |
| 798 | |
| 799 | Signature: (complex [io]A(n,n);int itype();int jobz(); int uplo();complex [io]B(n,n);[o]w(n); int [o]info(); [t]rwork(rworkn=CALC(3*($SIZE(n)-2)))) |
| 800 | Types: (float double) |
| 801 | |
| 802 | =for usage |
| 803 | |
| 804 | ($w, $info) = chegv($A, $itype, $jobz, $uplo, $B); |
| 805 | chegv($A, $itype, $jobz, $uplo, $B, $w, $info); # all arguments given |
| 806 | ($w, $info) = $A->chegv($itype, $jobz, $uplo, $B); # method call |
| 807 | $A->chegv($itype, $jobz, $uplo, $B, $w, $info); |
| 808 | |
| 809 | =for ref |
| 810 | |
| 811 | Complex version of L<PDL::LinearAlgebra::Real/sygv> for Hermitian matrix |
| 812 | |
| 813 | =pod |
| 814 | |
| 815 | Broadcasts over its inputs. |
| 816 | |
| 817 | =for bad |
| 818 | |
| 819 | C<chegv> ignores the bad-value flag of the input ndarrays. |
| 820 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 821 | |
| 822 | =cut |
| 823 | |
| 824 | |
| 825 | |
| 826 | |
| 827 | *chegv = \&PDL::chegv; |
| 828 | |
| 829 | |
| 830 | |
| 831 | |
| 832 | |
| 833 | |
| 834 | =head2 chegvd |
| 835 | |
| 836 | =for sig |
| 837 | |
| 838 | Signature: (complex [io]A(n,n);int itype();int jobz(); int uplo();complex [io]B(n,n);[o]w(n); int [o]info()) |
| 839 | Types: (float double) |
| 840 | |
| 841 | =for usage |
| 842 | |
| 843 | ($w, $info) = chegvd($A, $itype, $jobz, $uplo, $B); |
| 844 | chegvd($A, $itype, $jobz, $uplo, $B, $w, $info); # all arguments given |
| 845 | ($w, $info) = $A->chegvd($itype, $jobz, $uplo, $B); # method call |
| 846 | $A->chegvd($itype, $jobz, $uplo, $B, $w, $info); |
| 847 | |
| 848 | =for ref |
| 849 | |
| 850 | Complex version of L<PDL::LinearAlgebra::Real/sygvd> for Hermitian matrix |
| 851 | |
| 852 | =pod |
| 853 | |
| 854 | Broadcasts over its inputs. |
| 855 | |
| 856 | =for bad |
| 857 | |
| 858 | C<chegvd> ignores the bad-value flag of the input ndarrays. |
| 859 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 860 | |
| 861 | =cut |
| 862 | |
| 863 | |
| 864 | |
| 865 | |
| 866 | *chegvd = \&PDL::chegvd; |
| 867 | |
| 868 | |
| 869 | |
| 870 | |
| 871 | |
| 872 | |
| 873 | =head2 chegvx |
| 874 | |
| 875 | =for sig |
| 876 | |
| 877 | Signature: (complex [io]A(n,n);int itype();complex |
| 878 | [io]B(n,n);vl();vu();int il(); |
| 879 | int iu();abstol();int [o]m();[o]w(n);complex |
| 880 | [o]Z(p,p);int [o]ifail(n);int [o]info(); [t]rwork(rworkn=CALC(7*$SIZE(n))); int [t]iwork(iworkn=CALC(5*$SIZE(n))); |
| 881 | ; int jobz; int range; int uplo) |
| 882 | Types: (float double) |
| 883 | |
| 884 | =for usage |
| 885 | |
| 886 | ($m, $w, $Z, $ifail, $info) = chegvx($A, $itype, $jobz, $range, $uplo, $B, $vl, $vu, $il, $iu, $abstol); |
| 887 | chegvx($A, $itype, $jobz, $range, $uplo, $B, $vl, $vu, $il, $iu, $abstol, $m, $w, $Z, $ifail, $info); # all arguments given |
| 888 | ($m, $w, $Z, $ifail, $info) = $A->chegvx($itype, $jobz, $range, $uplo, $B, $vl, $vu, $il, $iu, $abstol); # method call |
| 889 | $A->chegvx($itype, $jobz, $range, $uplo, $B, $vl, $vu, $il, $iu, $abstol, $m, $w, $Z, $ifail, $info); |
| 890 | |
| 891 | =for ref |
| 892 | |
| 893 | Complex version of L<PDL::LinearAlgebra::Real/sygvx> for Hermitian matrix |
| 894 | |
| 895 | =pod |
| 896 | |
| 897 | Broadcasts over its inputs. |
| 898 | |
| 899 | =for bad |
| 900 | |
| 901 | C<chegvx> ignores the bad-value flag of the input ndarrays. |
| 902 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 903 | |
| 904 | =cut |
| 905 | |
| 906 | |
| 907 | |
| 908 | |
| 909 | *chegvx = \&PDL::chegvx; |
| 910 | |
| 911 | |
| 912 | |
| 913 | |
| 914 | |
| 915 | |
| 916 | =head2 cgesv |
| 917 | |
| 918 | =for sig |
| 919 | |
| 920 | Signature: (complex [io]A(n,n);complex [io]B(n,m); int [o]ipiv(n); int [o]info()) |
| 921 | Types: (float double) |
| 922 | |
| 923 | =for usage |
| 924 | |
| 925 | ($ipiv, $info) = cgesv($A, $B); |
| 926 | cgesv($A, $B, $ipiv, $info); # all arguments given |
| 927 | ($ipiv, $info) = $A->cgesv($B); # method call |
| 928 | $A->cgesv($B, $ipiv, $info); |
| 929 | |
| 930 | =for ref |
| 931 | |
| 932 | Complex version of L<PDL::LinearAlgebra::Real/gesv> |
| 933 | |
| 934 | =pod |
| 935 | |
| 936 | Broadcasts over its inputs. |
| 937 | |
| 938 | =for bad |
| 939 | |
| 940 | C<cgesv> ignores the bad-value flag of the input ndarrays. |
| 941 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 942 | |
| 943 | =cut |
| 944 | |
| 945 | |
| 946 | |
| 947 | |
| 948 | *cgesv = \&PDL::cgesv; |
| 949 | |
| 950 | |
| 951 | |
| 952 | |
| 953 | |
| 954 | |
| 955 | =head2 cgesvx |
| 956 | |
| 957 | =for sig |
| 958 | |
| 959 | Signature: (complex [io]A(n,n); int trans(); int fact();complex [io]B(n,m);complex [io]af(n,n); int [io]ipiv(n); int [io]equed(); [o]r(p); [o]c(q);complex [o]X(n,m); [o]rcond(); [o]ferr(m); [o]berr(m); [o]rpvgrw(); int [o]info(); [t]rwork(rworkn=CALC(4*$SIZE(n))); [t]work(rworkn)) |
| 960 | Types: (float double) |
| 961 | |
| 962 | =for usage |
| 963 | |
| 964 | ($r, $c, $X, $rcond, $ferr, $berr, $rpvgrw, $info) = cgesvx($A, $trans, $fact, $B, $af, $ipiv, $equed); |
| 965 | cgesvx($A, $trans, $fact, $B, $af, $ipiv, $equed, $r, $c, $X, $rcond, $ferr, $berr, $rpvgrw, $info); # all arguments given |
| 966 | ($r, $c, $X, $rcond, $ferr, $berr, $rpvgrw, $info) = $A->cgesvx($trans, $fact, $B, $af, $ipiv, $equed); # method call |
| 967 | $A->cgesvx($trans, $fact, $B, $af, $ipiv, $equed, $r, $c, $X, $rcond, $ferr, $berr, $rpvgrw, $info); |
| 968 | |
| 969 | =for ref |
| 970 | |
| 971 | Complex version of L<PDL::LinearAlgebra::Real/gesvx>. |
| 972 | |
| 973 | trans: Specifies the form of the system of equations: |
| 974 | = 0: A * X = B (No transpose) |
| 975 | = 1: A' * X = B (Transpose) |
| 976 | = 2: A**H * X = B (Conjugate transpose) |
| 977 | |
| 978 | =pod |
| 979 | |
| 980 | Broadcasts over its inputs. |
| 981 | |
| 982 | =for bad |
| 983 | |
| 984 | C<cgesvx> ignores the bad-value flag of the input ndarrays. |
| 985 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 986 | |
| 987 | =cut |
| 988 | |
| 989 | |
| 990 | |
| 991 | |
| 992 | *cgesvx = \&PDL::cgesvx; |
| 993 | |
| 994 | |
| 995 | |
| 996 | |
| 997 | |
| 998 | |
| 999 | =head2 csysv |
| 1000 | |
| 1001 | =for sig |
| 1002 | |
| 1003 | Signature: (complex [io]A(n,n); int uplo();complex [io]B(n,m); int [o]ipiv(n); int [o]info()) |
| 1004 | Types: (float double) |
| 1005 | |
| 1006 | =for usage |
| 1007 | |
| 1008 | ($ipiv, $info) = csysv($A, $uplo, $B); |
| 1009 | csysv($A, $uplo, $B, $ipiv, $info); # all arguments given |
| 1010 | ($ipiv, $info) = $A->csysv($uplo, $B); # method call |
| 1011 | $A->csysv($uplo, $B, $ipiv, $info); |
| 1012 | |
| 1013 | =for ref |
| 1014 | |
| 1015 | Complex version of L<PDL::LinearAlgebra::Real/sysv> |
| 1016 | |
| 1017 | =pod |
| 1018 | |
| 1019 | Broadcasts over its inputs. |
| 1020 | |
| 1021 | =for bad |
| 1022 | |
| 1023 | C<csysv> ignores the bad-value flag of the input ndarrays. |
| 1024 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1025 | |
| 1026 | =cut |
| 1027 | |
| 1028 | |
| 1029 | |
| 1030 | |
| 1031 | *csysv = \&PDL::csysv; |
| 1032 | |
| 1033 | |
| 1034 | |
| 1035 | |
| 1036 | |
| 1037 | |
| 1038 | =head2 csysvx |
| 1039 | |
| 1040 | =for sig |
| 1041 | |
| 1042 | Signature: (complex A(n,n); int uplo(); int fact();complex B(n,m);complex [io]af(n,n); int [io]ipiv(n);complex [o]X(n,m); [o]rcond(); [o]ferr(m); [o]berr(m); int [o]info(); [t]rwork(n)) |
| 1043 | Types: (float double) |
| 1044 | |
| 1045 | =for usage |
| 1046 | |
| 1047 | ($X, $rcond, $ferr, $berr, $info) = csysvx($A, $uplo, $fact, $B, $af, $ipiv); |
| 1048 | csysvx($A, $uplo, $fact, $B, $af, $ipiv, $X, $rcond, $ferr, $berr, $info); # all arguments given |
| 1049 | ($X, $rcond, $ferr, $berr, $info) = $A->csysvx($uplo, $fact, $B, $af, $ipiv); # method call |
| 1050 | $A->csysvx($uplo, $fact, $B, $af, $ipiv, $X, $rcond, $ferr, $berr, $info); |
| 1051 | |
| 1052 | =for ref |
| 1053 | |
| 1054 | Complex version of L<PDL::LinearAlgebra::Real/sysvx> |
| 1055 | |
| 1056 | =pod |
| 1057 | |
| 1058 | Broadcasts over its inputs. |
| 1059 | |
| 1060 | =for bad |
| 1061 | |
| 1062 | C<csysvx> ignores the bad-value flag of the input ndarrays. |
| 1063 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1064 | |
| 1065 | =cut |
| 1066 | |
| 1067 | |
| 1068 | |
| 1069 | |
| 1070 | *csysvx = \&PDL::csysvx; |
| 1071 | |
| 1072 | |
| 1073 | |
| 1074 | |
| 1075 | |
| 1076 | |
| 1077 | =head2 chesv |
| 1078 | |
| 1079 | =for sig |
| 1080 | |
| 1081 | Signature: (complex [io]A(n,n); int uplo();complex [io]B(n,m); int [o]ipiv(n); int [o]info()) |
| 1082 | Types: (float double) |
| 1083 | |
| 1084 | =for usage |
| 1085 | |
| 1086 | ($ipiv, $info) = chesv($A, $uplo, $B); |
| 1087 | chesv($A, $uplo, $B, $ipiv, $info); # all arguments given |
| 1088 | ($ipiv, $info) = $A->chesv($uplo, $B); # method call |
| 1089 | $A->chesv($uplo, $B, $ipiv, $info); |
| 1090 | |
| 1091 | =for ref |
| 1092 | |
| 1093 | Complex version of L<PDL::LinearAlgebra::Real/sysv> for Hermitian matrix |
| 1094 | |
| 1095 | =pod |
| 1096 | |
| 1097 | Broadcasts over its inputs. |
| 1098 | |
| 1099 | =for bad |
| 1100 | |
| 1101 | C<chesv> ignores the bad-value flag of the input ndarrays. |
| 1102 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1103 | |
| 1104 | =cut |
| 1105 | |
| 1106 | |
| 1107 | |
| 1108 | |
| 1109 | *chesv = \&PDL::chesv; |
| 1110 | |
| 1111 | |
| 1112 | |
| 1113 | |
| 1114 | |
| 1115 | |
| 1116 | =head2 chesvx |
| 1117 | |
| 1118 | =for sig |
| 1119 | |
| 1120 | Signature: (complex A(n,n); int uplo(); int fact();complex B(n,m);complex [io]af(n,n); int [io]ipiv(n);complex [o]X(n,m); [o]rcond(); [o]ferr(m); [o]berr(m); int [o]info(); [t]rwork(n)) |
| 1121 | Types: (float double) |
| 1122 | |
| 1123 | =for usage |
| 1124 | |
| 1125 | ($X, $rcond, $ferr, $berr, $info) = chesvx($A, $uplo, $fact, $B, $af, $ipiv); |
| 1126 | chesvx($A, $uplo, $fact, $B, $af, $ipiv, $X, $rcond, $ferr, $berr, $info); # all arguments given |
| 1127 | ($X, $rcond, $ferr, $berr, $info) = $A->chesvx($uplo, $fact, $B, $af, $ipiv); # method call |
| 1128 | $A->chesvx($uplo, $fact, $B, $af, $ipiv, $X, $rcond, $ferr, $berr, $info); |
| 1129 | |
| 1130 | =for ref |
| 1131 | |
| 1132 | Complex version of L<PDL::LinearAlgebra::Real/sysvx> for Hermitian matrix |
| 1133 | |
| 1134 | =pod |
| 1135 | |
| 1136 | Broadcasts over its inputs. |
| 1137 | |
| 1138 | =for bad |
| 1139 | |
| 1140 | C<chesvx> ignores the bad-value flag of the input ndarrays. |
| 1141 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1142 | |
| 1143 | =cut |
| 1144 | |
| 1145 | |
| 1146 | |
| 1147 | |
| 1148 | *chesvx = \&PDL::chesvx; |
| 1149 | |
| 1150 | |
| 1151 | |
| 1152 | |
| 1153 | |
| 1154 | |
| 1155 | =head2 cposv |
| 1156 | |
| 1157 | =for sig |
| 1158 | |
| 1159 | Signature: (complex [io]A(n,n); int uplo();complex [io]B(n,m); int [o]info()) |
| 1160 | Types: (float double) |
| 1161 | |
| 1162 | =for usage |
| 1163 | |
| 1164 | $info = cposv($A, $uplo, $B); |
| 1165 | cposv($A, $uplo, $B, $info); # all arguments given |
| 1166 | $info = $A->cposv($uplo, $B); # method call |
| 1167 | $A->cposv($uplo, $B, $info); |
| 1168 | |
| 1169 | =for ref |
| 1170 | |
| 1171 | Complex version of L<PDL::LinearAlgebra::Real/posv> for Hermitian positive definite matrix |
| 1172 | |
| 1173 | =pod |
| 1174 | |
| 1175 | Broadcasts over its inputs. |
| 1176 | |
| 1177 | =for bad |
| 1178 | |
| 1179 | C<cposv> ignores the bad-value flag of the input ndarrays. |
| 1180 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1181 | |
| 1182 | =cut |
| 1183 | |
| 1184 | |
| 1185 | |
| 1186 | |
| 1187 | *cposv = \&PDL::cposv; |
| 1188 | |
| 1189 | |
| 1190 | |
| 1191 | |
| 1192 | |
| 1193 | |
| 1194 | =head2 cposvx |
| 1195 | |
| 1196 | =for sig |
| 1197 | |
| 1198 | Signature: (complex [io]A(n,n); int uplo(); int fact();complex [io]B(n,m);complex [io]af(n,n); int [io]equed(); [o]s(p);complex [o]X(n,m); [o]rcond(); [o]ferr(m); [o]berr(m); int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n))); [t]work(workn=CALC(4*$SIZE(n)))) |
| 1199 | Types: (float double) |
| 1200 | |
| 1201 | =for usage |
| 1202 | |
| 1203 | ($s, $X, $rcond, $ferr, $berr, $info) = cposvx($A, $uplo, $fact, $B, $af, $equed); |
| 1204 | cposvx($A, $uplo, $fact, $B, $af, $equed, $s, $X, $rcond, $ferr, $berr, $info); # all arguments given |
| 1205 | ($s, $X, $rcond, $ferr, $berr, $info) = $A->cposvx($uplo, $fact, $B, $af, $equed); # method call |
| 1206 | $A->cposvx($uplo, $fact, $B, $af, $equed, $s, $X, $rcond, $ferr, $berr, $info); |
| 1207 | |
| 1208 | =for ref |
| 1209 | |
| 1210 | Complex version of L<PDL::LinearAlgebra::Real/posvx> for Hermitian positive definite matrix |
| 1211 | |
| 1212 | =pod |
| 1213 | |
| 1214 | Broadcasts over its inputs. |
| 1215 | |
| 1216 | =for bad |
| 1217 | |
| 1218 | C<cposvx> ignores the bad-value flag of the input ndarrays. |
| 1219 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1220 | |
| 1221 | =cut |
| 1222 | |
| 1223 | |
| 1224 | |
| 1225 | |
| 1226 | *cposvx = \&PDL::cposvx; |
| 1227 | |
| 1228 | |
| 1229 | |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | =head2 cgels |
| 1234 | |
| 1235 | =for sig |
| 1236 | |
| 1237 | Signature: (complex [io]A(m,n); int trans();complex [io]B(p,q);int [o]info()) |
| 1238 | Types: (float double) |
| 1239 | |
| 1240 | =for usage |
| 1241 | |
| 1242 | $info = cgels($A, $trans, $B); |
| 1243 | cgels($A, $trans, $B, $info); # all arguments given |
| 1244 | $info = $A->cgels($trans, $B); # method call |
| 1245 | $A->cgels($trans, $B, $info); |
| 1246 | |
| 1247 | =for ref |
| 1248 | |
| 1249 | Solves overdetermined or underdetermined complex linear systems |
| 1250 | involving an M-by-N matrix A, or its conjugate-transpose. |
| 1251 | Complex version of L<PDL::LinearAlgebra::Real/gels>. |
| 1252 | |
| 1253 | trans: = 0: the linear system involves A; |
| 1254 | = 1: the linear system involves A**H. |
| 1255 | |
| 1256 | =pod |
| 1257 | |
| 1258 | Broadcasts over its inputs. |
| 1259 | |
| 1260 | =for bad |
| 1261 | |
| 1262 | C<cgels> ignores the bad-value flag of the input ndarrays. |
| 1263 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1264 | |
| 1265 | =cut |
| 1266 | |
| 1267 | |
| 1268 | |
| 1269 | |
| 1270 | *cgels = \&PDL::cgels; |
| 1271 | |
| 1272 | |
| 1273 | |
| 1274 | |
| 1275 | |
| 1276 | |
| 1277 | =head2 cgelsy |
| 1278 | |
| 1279 | =for sig |
| 1280 | |
| 1281 | Signature: (complex [io]A(m,n);complex [io]B(p,q); rcond(); int [io]jpvt(n); int [o]rank();int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n)))) |
| 1282 | Types: (float double) |
| 1283 | |
| 1284 | =for usage |
| 1285 | |
| 1286 | ($rank, $info) = cgelsy($A, $B, $rcond, $jpvt); |
| 1287 | cgelsy($A, $B, $rcond, $jpvt, $rank, $info); # all arguments given |
| 1288 | ($rank, $info) = $A->cgelsy($B, $rcond, $jpvt); # method call |
| 1289 | $A->cgelsy($B, $rcond, $jpvt, $rank, $info); |
| 1290 | |
| 1291 | =for ref |
| 1292 | |
| 1293 | Complex version of L<PDL::LinearAlgebra::Real/gelsy> |
| 1294 | |
| 1295 | =pod |
| 1296 | |
| 1297 | Broadcasts over its inputs. |
| 1298 | |
| 1299 | =for bad |
| 1300 | |
| 1301 | C<cgelsy> ignores the bad-value flag of the input ndarrays. |
| 1302 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1303 | |
| 1304 | =cut |
| 1305 | |
| 1306 | |
| 1307 | |
| 1308 | |
| 1309 | *cgelsy = \&PDL::cgelsy; |
| 1310 | |
| 1311 | |
| 1312 | |
| 1313 | |
| 1314 | |
| 1315 | |
| 1316 | =head2 cgelss |
| 1317 | |
| 1318 | =for sig |
| 1319 | |
| 1320 | Signature: (complex [io]A(m,n);complex [io]B(p,q); rcond(); [o]s(r); int [o]rank();int [o]info(); [t]rwork(rworkn=CALC(5*PDLMIN($SIZE(m),$SIZE(n))))) |
| 1321 | Types: (float double) |
| 1322 | |
| 1323 | =for usage |
| 1324 | |
| 1325 | ($s, $rank, $info) = cgelss($A, $B, $rcond); |
| 1326 | cgelss($A, $B, $rcond, $s, $rank, $info); # all arguments given |
| 1327 | ($s, $rank, $info) = $A->cgelss($B, $rcond); # method call |
| 1328 | $A->cgelss($B, $rcond, $s, $rank, $info); |
| 1329 | |
| 1330 | =for ref |
| 1331 | |
| 1332 | Complex version of L<PDL::LinearAlgebra::Real/gelss> |
| 1333 | |
| 1334 | =pod |
| 1335 | |
| 1336 | Broadcasts over its inputs. |
| 1337 | |
| 1338 | =for bad |
| 1339 | |
| 1340 | C<cgelss> ignores the bad-value flag of the input ndarrays. |
| 1341 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1342 | |
| 1343 | =cut |
| 1344 | |
| 1345 | |
| 1346 | |
| 1347 | |
| 1348 | *cgelss = \&PDL::cgelss; |
| 1349 | |
| 1350 | |
| 1351 | |
| 1352 | |
| 1353 | |
| 1354 | |
| 1355 | =head2 cgelsd |
| 1356 | |
| 1357 | =for sig |
| 1358 | |
| 1359 | Signature: (complex [io]A(m,n);complex [io]B(p,q); rcond(); [o]s(minmn=CALC(PDLMAX(1,PDLMIN($SIZE(m),$SIZE(n))))); int [o]rank();int [o]info(); int [t]iwork(iworkn); [t]rwork(rworkn)) |
| 1360 | Types: (float double) |
| 1361 | |
| 1362 | =for usage |
| 1363 | |
| 1364 | ($s, $rank, $info) = cgelsd($A, $B, $rcond); |
| 1365 | cgelsd($A, $B, $rcond, $s, $rank, $info); # all arguments given |
| 1366 | ($s, $rank, $info) = $A->cgelsd($B, $rcond); # method call |
| 1367 | $A->cgelsd($B, $rcond, $s, $rank, $info); |
| 1368 | |
| 1369 | =for ref |
| 1370 | |
| 1371 | Complex version of L<PDL::LinearAlgebra::Real/gelsd> |
| 1372 | |
| 1373 | =pod |
| 1374 | |
| 1375 | Broadcasts over its inputs. |
| 1376 | |
| 1377 | =for bad |
| 1378 | |
| 1379 | C<cgelsd> ignores the bad-value flag of the input ndarrays. |
| 1380 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1381 | |
| 1382 | =cut |
| 1383 | |
| 1384 | |
| 1385 | |
| 1386 | |
| 1387 | *cgelsd = \&PDL::cgelsd; |
| 1388 | |
| 1389 | |
| 1390 | |
| 1391 | |
| 1392 | |
| 1393 | |
| 1394 | =head2 cgglse |
| 1395 | |
| 1396 | =for sig |
| 1397 | |
| 1398 | Signature: (complex [io]A(m,n);complex [io]B(p,n);complex [io]c(m);complex [io]d(p);complex [o]x(n);int [o]info()) |
| 1399 | Types: (float double) |
| 1400 | |
| 1401 | =for usage |
| 1402 | |
| 1403 | ($x, $info) = cgglse($A, $B, $c, $d); |
| 1404 | cgglse($A, $B, $c, $d, $x, $info); # all arguments given |
| 1405 | ($x, $info) = $A->cgglse($B, $c, $d); # method call |
| 1406 | $A->cgglse($B, $c, $d, $x, $info); |
| 1407 | |
| 1408 | =for ref |
| 1409 | |
| 1410 | Complex version of L<PDL::LinearAlgebra::Real/gglse> |
| 1411 | |
| 1412 | =pod |
| 1413 | |
| 1414 | Broadcasts over its inputs. |
| 1415 | |
| 1416 | =for bad |
| 1417 | |
| 1418 | C<cgglse> ignores the bad-value flag of the input ndarrays. |
| 1419 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1420 | |
| 1421 | =cut |
| 1422 | |
| 1423 | |
| 1424 | |
| 1425 | |
| 1426 | *cgglse = \&PDL::cgglse; |
| 1427 | |
| 1428 | |
| 1429 | |
| 1430 | |
| 1431 | |
| 1432 | |
| 1433 | =head2 cggglm |
| 1434 | |
| 1435 | =for sig |
| 1436 | |
| 1437 | Signature: (complex [io]A(n,m);complex [io]B(n,p);complex [io]d(n);complex [o]x(m);complex [o]y(p);int [o]info()) |
| 1438 | Types: (float double) |
| 1439 | |
| 1440 | =for usage |
| 1441 | |
| 1442 | ($x, $y, $info) = cggglm($A, $B, $d); |
| 1443 | cggglm($A, $B, $d, $x, $y, $info); # all arguments given |
| 1444 | ($x, $y, $info) = $A->cggglm($B, $d); # method call |
| 1445 | $A->cggglm($B, $d, $x, $y, $info); |
| 1446 | |
| 1447 | =for ref |
| 1448 | |
| 1449 | Complex version of L<PDL::LinearAlgebra::Real/ggglm> |
| 1450 | |
| 1451 | =pod |
| 1452 | |
| 1453 | Broadcasts over its inputs. |
| 1454 | |
| 1455 | =for bad |
| 1456 | |
| 1457 | C<cggglm> ignores the bad-value flag of the input ndarrays. |
| 1458 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1459 | |
| 1460 | =cut |
| 1461 | |
| 1462 | |
| 1463 | |
| 1464 | |
| 1465 | *cggglm = \&PDL::cggglm; |
| 1466 | |
| 1467 | |
| 1468 | |
| 1469 | |
| 1470 | |
| 1471 | |
| 1472 | =head2 cgetrf |
| 1473 | |
| 1474 | =for sig |
| 1475 | |
| 1476 | Signature: (complex [io]A(m,n); int [o]ipiv(p=CALC(PDLMIN($SIZE(m),$SIZE(n)))); int [o]info()) |
| 1477 | Types: (float double) |
| 1478 | |
| 1479 | =for usage |
| 1480 | |
| 1481 | ($ipiv, $info) = cgetrf($A); |
| 1482 | cgetrf($A, $ipiv, $info); # all arguments given |
| 1483 | ($ipiv, $info) = $A->cgetrf; # method call |
| 1484 | $A->cgetrf($ipiv, $info); |
| 1485 | |
| 1486 | =for ref |
| 1487 | |
| 1488 | Complex version of L<PDL::LinearAlgebra::Real/getrf> |
| 1489 | |
| 1490 | =pod |
| 1491 | |
| 1492 | Broadcasts over its inputs. |
| 1493 | |
| 1494 | =for bad |
| 1495 | |
| 1496 | C<cgetrf> ignores the bad-value flag of the input ndarrays. |
| 1497 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1498 | |
| 1499 | =cut |
| 1500 | |
| 1501 | |
| 1502 | |
| 1503 | |
| 1504 | *cgetrf = \&PDL::cgetrf; |
| 1505 | |
| 1506 | |
| 1507 | |
| 1508 | |
| 1509 | |
| 1510 | |
| 1511 | =head2 cgetf2 |
| 1512 | |
| 1513 | =for sig |
| 1514 | |
| 1515 | Signature: (complex [io]A(m,n); int [o]ipiv(p=CALC(PDLMIN($SIZE(m),$SIZE(n)))); int [o]info()) |
| 1516 | Types: (float double) |
| 1517 | |
| 1518 | =for usage |
| 1519 | |
| 1520 | ($ipiv, $info) = cgetf2($A); |
| 1521 | cgetf2($A, $ipiv, $info); # all arguments given |
| 1522 | ($ipiv, $info) = $A->cgetf2; # method call |
| 1523 | $A->cgetf2($ipiv, $info); |
| 1524 | |
| 1525 | =for ref |
| 1526 | |
| 1527 | Complex version of L<PDL::LinearAlgebra::Real/getf2> |
| 1528 | |
| 1529 | =pod |
| 1530 | |
| 1531 | Broadcasts over its inputs. |
| 1532 | |
| 1533 | =for bad |
| 1534 | |
| 1535 | C<cgetf2> ignores the bad-value flag of the input ndarrays. |
| 1536 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1537 | |
| 1538 | =cut |
| 1539 | |
| 1540 | |
| 1541 | |
| 1542 | |
| 1543 | *cgetf2 = \&PDL::cgetf2; |
| 1544 | |
| 1545 | |
| 1546 | |
| 1547 | |
| 1548 | |
| 1549 | |
| 1550 | =head2 csytrf |
| 1551 | |
| 1552 | =for sig |
| 1553 | |
| 1554 | Signature: (complex [io]A(n,n); int uplo(); int [o]ipiv(n); int [o]info()) |
| 1555 | Types: (float double) |
| 1556 | |
| 1557 | =for usage |
| 1558 | |
| 1559 | ($ipiv, $info) = csytrf($A, $uplo); |
| 1560 | csytrf($A, $uplo, $ipiv, $info); # all arguments given |
| 1561 | ($ipiv, $info) = $A->csytrf($uplo); # method call |
| 1562 | $A->csytrf($uplo, $ipiv, $info); |
| 1563 | |
| 1564 | =for ref |
| 1565 | |
| 1566 | Complex version of L<PDL::LinearAlgebra::Real/sytrf> |
| 1567 | |
| 1568 | =pod |
| 1569 | |
| 1570 | Broadcasts over its inputs. |
| 1571 | |
| 1572 | =for bad |
| 1573 | |
| 1574 | C<csytrf> ignores the bad-value flag of the input ndarrays. |
| 1575 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1576 | |
| 1577 | =cut |
| 1578 | |
| 1579 | |
| 1580 | |
| 1581 | |
| 1582 | *csytrf = \&PDL::csytrf; |
| 1583 | |
| 1584 | |
| 1585 | |
| 1586 | |
| 1587 | |
| 1588 | |
| 1589 | =head2 csytf2 |
| 1590 | |
| 1591 | =for sig |
| 1592 | |
| 1593 | Signature: (complex [io]A(n,n); int uplo(); int [o]ipiv(n); int [o]info()) |
| 1594 | Types: (float double) |
| 1595 | |
| 1596 | =for usage |
| 1597 | |
| 1598 | ($ipiv, $info) = csytf2($A, $uplo); |
| 1599 | csytf2($A, $uplo, $ipiv, $info); # all arguments given |
| 1600 | ($ipiv, $info) = $A->csytf2($uplo); # method call |
| 1601 | $A->csytf2($uplo, $ipiv, $info); |
| 1602 | |
| 1603 | =for ref |
| 1604 | |
| 1605 | Complex version of L<PDL::LinearAlgebra::Real/sytf2> |
| 1606 | |
| 1607 | =pod |
| 1608 | |
| 1609 | Broadcasts over its inputs. |
| 1610 | |
| 1611 | =for bad |
| 1612 | |
| 1613 | C<csytf2> ignores the bad-value flag of the input ndarrays. |
| 1614 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1615 | |
| 1616 | =cut |
| 1617 | |
| 1618 | |
| 1619 | |
| 1620 | |
| 1621 | *csytf2 = \&PDL::csytf2; |
| 1622 | |
| 1623 | |
| 1624 | |
| 1625 | |
| 1626 | |
| 1627 | |
| 1628 | =head2 cchetrf |
| 1629 | |
| 1630 | =for sig |
| 1631 | |
| 1632 | Signature: (complex [io]A(n,n); int uplo(); int [o]ipiv(n); int [o]info(); [t]work(workn)) |
| 1633 | Types: (float double) |
| 1634 | |
| 1635 | =for usage |
| 1636 | |
| 1637 | ($ipiv, $info) = cchetrf($A, $uplo); |
| 1638 | cchetrf($A, $uplo, $ipiv, $info); # all arguments given |
| 1639 | ($ipiv, $info) = $A->cchetrf($uplo); # method call |
| 1640 | $A->cchetrf($uplo, $ipiv, $info); |
| 1641 | |
| 1642 | =for ref |
| 1643 | |
| 1644 | Complex version of L<PDL::LinearAlgebra::Real/sytrf> for Hermitian matrix |
| 1645 | |
| 1646 | =pod |
| 1647 | |
| 1648 | Broadcasts over its inputs. |
| 1649 | |
| 1650 | =for bad |
| 1651 | |
| 1652 | C<cchetrf> ignores the bad-value flag of the input ndarrays. |
| 1653 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1654 | |
| 1655 | =cut |
| 1656 | |
| 1657 | |
| 1658 | |
| 1659 | |
| 1660 | *cchetrf = \&PDL::cchetrf; |
| 1661 | |
| 1662 | |
| 1663 | |
| 1664 | |
| 1665 | |
| 1666 | |
| 1667 | =head2 chetf2 |
| 1668 | |
| 1669 | =for sig |
| 1670 | |
| 1671 | Signature: (complex [io]A(n,n); int uplo(); int [o]ipiv(n); int [o]info()) |
| 1672 | Types: (float double) |
| 1673 | |
| 1674 | =for usage |
| 1675 | |
| 1676 | ($ipiv, $info) = chetf2($A, $uplo); |
| 1677 | chetf2($A, $uplo, $ipiv, $info); # all arguments given |
| 1678 | ($ipiv, $info) = $A->chetf2($uplo); # method call |
| 1679 | $A->chetf2($uplo, $ipiv, $info); |
| 1680 | |
| 1681 | =for ref |
| 1682 | |
| 1683 | Complex version of L<PDL::LinearAlgebra::Real/sytf2> for Hermitian matrix |
| 1684 | |
| 1685 | =pod |
| 1686 | |
| 1687 | Broadcasts over its inputs. |
| 1688 | |
| 1689 | =for bad |
| 1690 | |
| 1691 | C<chetf2> ignores the bad-value flag of the input ndarrays. |
| 1692 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1693 | |
| 1694 | =cut |
| 1695 | |
| 1696 | |
| 1697 | |
| 1698 | |
| 1699 | *chetf2 = \&PDL::chetf2; |
| 1700 | |
| 1701 | |
| 1702 | |
| 1703 | |
| 1704 | |
| 1705 | |
| 1706 | =head2 cpotrf |
| 1707 | |
| 1708 | =for sig |
| 1709 | |
| 1710 | Signature: (complex [io]A(n,n); int uplo(); int [o]info()) |
| 1711 | Types: (float double) |
| 1712 | |
| 1713 | =for usage |
| 1714 | |
| 1715 | $info = cpotrf($A, $uplo); |
| 1716 | cpotrf($A, $uplo, $info); # all arguments given |
| 1717 | $info = $A->cpotrf($uplo); # method call |
| 1718 | $A->cpotrf($uplo, $info); |
| 1719 | |
| 1720 | =for ref |
| 1721 | |
| 1722 | Complex version of L<PDL::LinearAlgebra::Real/potrf> for Hermitian positive definite matrix |
| 1723 | |
| 1724 | =pod |
| 1725 | |
| 1726 | Broadcasts over its inputs. |
| 1727 | |
| 1728 | =for bad |
| 1729 | |
| 1730 | C<cpotrf> ignores the bad-value flag of the input ndarrays. |
| 1731 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1732 | |
| 1733 | =cut |
| 1734 | |
| 1735 | |
| 1736 | |
| 1737 | |
| 1738 | *cpotrf = \&PDL::cpotrf; |
| 1739 | |
| 1740 | |
| 1741 | |
| 1742 | |
| 1743 | |
| 1744 | |
| 1745 | =head2 cpotf2 |
| 1746 | |
| 1747 | =for sig |
| 1748 | |
| 1749 | Signature: (complex [io]A(n,n); int uplo(); int [o]info()) |
| 1750 | Types: (float double) |
| 1751 | |
| 1752 | =for usage |
| 1753 | |
| 1754 | $info = cpotf2($A, $uplo); |
| 1755 | cpotf2($A, $uplo, $info); # all arguments given |
| 1756 | $info = $A->cpotf2($uplo); # method call |
| 1757 | $A->cpotf2($uplo, $info); |
| 1758 | |
| 1759 | =for ref |
| 1760 | |
| 1761 | Complex version of L<PDL::LinearAlgebra::Real/potf2> for Hermitian positive definite matrix |
| 1762 | |
| 1763 | =pod |
| 1764 | |
| 1765 | Broadcasts over its inputs. |
| 1766 | |
| 1767 | =for bad |
| 1768 | |
| 1769 | C<cpotf2> ignores the bad-value flag of the input ndarrays. |
| 1770 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1771 | |
| 1772 | =cut |
| 1773 | |
| 1774 | |
| 1775 | |
| 1776 | |
| 1777 | *cpotf2 = \&PDL::cpotf2; |
| 1778 | |
| 1779 | |
| 1780 | |
| 1781 | |
| 1782 | |
| 1783 | |
| 1784 | =head2 cgetri |
| 1785 | |
| 1786 | =for sig |
| 1787 | |
| 1788 | Signature: (complex [io]A(n,n); int ipiv(n); int [o]info()) |
| 1789 | Types: (float double) |
| 1790 | |
| 1791 | =for usage |
| 1792 | |
| 1793 | $info = cgetri($A, $ipiv); |
| 1794 | cgetri($A, $ipiv, $info); # all arguments given |
| 1795 | $info = $A->cgetri($ipiv); # method call |
| 1796 | $A->cgetri($ipiv, $info); |
| 1797 | |
| 1798 | =for ref |
| 1799 | |
| 1800 | Complex version of L<PDL::LinearAlgebra::Real/getri> |
| 1801 | |
| 1802 | =pod |
| 1803 | |
| 1804 | Broadcasts over its inputs. |
| 1805 | |
| 1806 | =for bad |
| 1807 | |
| 1808 | C<cgetri> ignores the bad-value flag of the input ndarrays. |
| 1809 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1810 | |
| 1811 | =cut |
| 1812 | |
| 1813 | |
| 1814 | |
| 1815 | |
| 1816 | *cgetri = \&PDL::cgetri; |
| 1817 | |
| 1818 | |
| 1819 | |
| 1820 | |
| 1821 | |
| 1822 | |
| 1823 | =head2 csytri |
| 1824 | |
| 1825 | =for sig |
| 1826 | |
| 1827 | Signature: (complex [io]A(n,n); int uplo(); int ipiv(n); int [o]info(); [t]work(workn=CALC(2*$SIZE(n)))) |
| 1828 | Types: (float double) |
| 1829 | |
| 1830 | =for usage |
| 1831 | |
| 1832 | $info = csytri($A, $uplo, $ipiv); |
| 1833 | csytri($A, $uplo, $ipiv, $info); # all arguments given |
| 1834 | $info = $A->csytri($uplo, $ipiv); # method call |
| 1835 | $A->csytri($uplo, $ipiv, $info); |
| 1836 | |
| 1837 | =for ref |
| 1838 | |
| 1839 | Complex version of L<PDL::LinearAlgebra::Real/sytri> |
| 1840 | |
| 1841 | =pod |
| 1842 | |
| 1843 | Broadcasts over its inputs. |
| 1844 | |
| 1845 | =for bad |
| 1846 | |
| 1847 | C<csytri> ignores the bad-value flag of the input ndarrays. |
| 1848 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1849 | |
| 1850 | =cut |
| 1851 | |
| 1852 | |
| 1853 | |
| 1854 | |
| 1855 | *csytri = \&PDL::csytri; |
| 1856 | |
| 1857 | |
| 1858 | |
| 1859 | |
| 1860 | |
| 1861 | |
| 1862 | =head2 chetri |
| 1863 | |
| 1864 | =for sig |
| 1865 | |
| 1866 | Signature: (complex [io]A(n,n); int uplo(); int ipiv(n); int [o]info(); [t]work(workn=CALC(2*$SIZE(n)))) |
| 1867 | Types: (float double) |
| 1868 | |
| 1869 | =for usage |
| 1870 | |
| 1871 | $info = chetri($A, $uplo, $ipiv); |
| 1872 | chetri($A, $uplo, $ipiv, $info); # all arguments given |
| 1873 | $info = $A->chetri($uplo, $ipiv); # method call |
| 1874 | $A->chetri($uplo, $ipiv, $info); |
| 1875 | |
| 1876 | =for ref |
| 1877 | |
| 1878 | Complex version of L<PDL::LinearAlgebra::Real/sytri> for Hermitian matrix |
| 1879 | |
| 1880 | =pod |
| 1881 | |
| 1882 | Broadcasts over its inputs. |
| 1883 | |
| 1884 | =for bad |
| 1885 | |
| 1886 | C<chetri> ignores the bad-value flag of the input ndarrays. |
| 1887 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1888 | |
| 1889 | =cut |
| 1890 | |
| 1891 | |
| 1892 | |
| 1893 | |
| 1894 | *chetri = \&PDL::chetri; |
| 1895 | |
| 1896 | |
| 1897 | |
| 1898 | |
| 1899 | |
| 1900 | |
| 1901 | =head2 cpotri |
| 1902 | |
| 1903 | =for sig |
| 1904 | |
| 1905 | Signature: (complex [io]A(n,n); int uplo(); int [o]info()) |
| 1906 | Types: (float double) |
| 1907 | |
| 1908 | =for usage |
| 1909 | |
| 1910 | $info = cpotri($A, $uplo); |
| 1911 | cpotri($A, $uplo, $info); # all arguments given |
| 1912 | $info = $A->cpotri($uplo); # method call |
| 1913 | $A->cpotri($uplo, $info); |
| 1914 | |
| 1915 | =for ref |
| 1916 | |
| 1917 | Complex version of L<PDL::LinearAlgebra::Real/potri> |
| 1918 | |
| 1919 | =pod |
| 1920 | |
| 1921 | Broadcasts over its inputs. |
| 1922 | |
| 1923 | =for bad |
| 1924 | |
| 1925 | C<cpotri> ignores the bad-value flag of the input ndarrays. |
| 1926 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1927 | |
| 1928 | =cut |
| 1929 | |
| 1930 | |
| 1931 | |
| 1932 | |
| 1933 | *cpotri = \&PDL::cpotri; |
| 1934 | |
| 1935 | |
| 1936 | |
| 1937 | |
| 1938 | |
| 1939 | |
| 1940 | =head2 ctrtri |
| 1941 | |
| 1942 | =for sig |
| 1943 | |
| 1944 | Signature: (complex [io]A(n,n); int uplo(); int diag(); int [o]info()) |
| 1945 | Types: (float double) |
| 1946 | |
| 1947 | =for usage |
| 1948 | |
| 1949 | $info = ctrtri($A, $uplo, $diag); |
| 1950 | ctrtri($A, $uplo, $diag, $info); # all arguments given |
| 1951 | $info = $A->ctrtri($uplo, $diag); # method call |
| 1952 | $A->ctrtri($uplo, $diag, $info); |
| 1953 | |
| 1954 | =for ref |
| 1955 | |
| 1956 | Complex version of L<PDL::LinearAlgebra::Real/trtri> |
| 1957 | |
| 1958 | =pod |
| 1959 | |
| 1960 | Broadcasts over its inputs. |
| 1961 | |
| 1962 | =for bad |
| 1963 | |
| 1964 | C<ctrtri> ignores the bad-value flag of the input ndarrays. |
| 1965 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 1966 | |
| 1967 | =cut |
| 1968 | |
| 1969 | |
| 1970 | |
| 1971 | |
| 1972 | *ctrtri = \&PDL::ctrtri; |
| 1973 | |
| 1974 | |
| 1975 | |
| 1976 | |
| 1977 | |
| 1978 | |
| 1979 | =head2 ctrti2 |
| 1980 | |
| 1981 | =for sig |
| 1982 | |
| 1983 | Signature: (complex [io]A(n,n); int uplo(); int diag(); int [o]info()) |
| 1984 | Types: (float double) |
| 1985 | |
| 1986 | =for usage |
| 1987 | |
| 1988 | $info = ctrti2($A, $uplo, $diag); |
| 1989 | ctrti2($A, $uplo, $diag, $info); # all arguments given |
| 1990 | $info = $A->ctrti2($uplo, $diag); # method call |
| 1991 | $A->ctrti2($uplo, $diag, $info); |
| 1992 | |
| 1993 | =for ref |
| 1994 | |
| 1995 | Complex version of L<PDL::LinearAlgebra::Real/trti2> |
| 1996 | |
| 1997 | =pod |
| 1998 | |
| 1999 | Broadcasts over its inputs. |
| 2000 | |
| 2001 | =for bad |
| 2002 | |
| 2003 | C<ctrti2> ignores the bad-value flag of the input ndarrays. |
| 2004 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2005 | |
| 2006 | =cut |
| 2007 | |
| 2008 | |
| 2009 | |
| 2010 | |
| 2011 | *ctrti2 = \&PDL::ctrti2; |
| 2012 | |
| 2013 | |
| 2014 | |
| 2015 | |
| 2016 | |
| 2017 | |
| 2018 | =head2 cgetrs |
| 2019 | |
| 2020 | =for sig |
| 2021 | |
| 2022 | Signature: (complex A(n,n); int trans();complex [io]B(n,m); int ipiv(n); int [o]info()) |
| 2023 | Types: (float double) |
| 2024 | |
| 2025 | =for usage |
| 2026 | |
| 2027 | $info = cgetrs($A, $trans, $B, $ipiv); |
| 2028 | cgetrs($A, $trans, $B, $ipiv, $info); # all arguments given |
| 2029 | $info = $A->cgetrs($trans, $B, $ipiv); # method call |
| 2030 | $A->cgetrs($trans, $B, $ipiv, $info); |
| 2031 | |
| 2032 | =for ref |
| 2033 | |
| 2034 | Complex version of L<PDL::LinearAlgebra::Real/getrs> |
| 2035 | |
| 2036 | Arguments |
| 2037 | ========= |
| 2038 | trans: = 0: No transpose; |
| 2039 | = 1: Transpose; |
| 2040 | = 2: Conjugate transpose; |
| 2041 | |
| 2042 | =pod |
| 2043 | |
| 2044 | Broadcasts over its inputs. |
| 2045 | |
| 2046 | =for bad |
| 2047 | |
| 2048 | C<cgetrs> ignores the bad-value flag of the input ndarrays. |
| 2049 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2050 | |
| 2051 | =cut |
| 2052 | |
| 2053 | |
| 2054 | |
| 2055 | |
| 2056 | *cgetrs = \&PDL::cgetrs; |
| 2057 | |
| 2058 | |
| 2059 | |
| 2060 | |
| 2061 | |
| 2062 | |
| 2063 | =head2 csytrs |
| 2064 | |
| 2065 | =for sig |
| 2066 | |
| 2067 | Signature: (complex A(n,n); int uplo();complex [io]B(n,m); int ipiv(n); int [o]info()) |
| 2068 | Types: (float double) |
| 2069 | |
| 2070 | =for usage |
| 2071 | |
| 2072 | $info = csytrs($A, $uplo, $B, $ipiv); |
| 2073 | csytrs($A, $uplo, $B, $ipiv, $info); # all arguments given |
| 2074 | $info = $A->csytrs($uplo, $B, $ipiv); # method call |
| 2075 | $A->csytrs($uplo, $B, $ipiv, $info); |
| 2076 | |
| 2077 | =for ref |
| 2078 | |
| 2079 | Complex version of L<PDL::LinearAlgebra::Real/sytrs> |
| 2080 | |
| 2081 | =pod |
| 2082 | |
| 2083 | Broadcasts over its inputs. |
| 2084 | |
| 2085 | =for bad |
| 2086 | |
| 2087 | C<csytrs> ignores the bad-value flag of the input ndarrays. |
| 2088 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2089 | |
| 2090 | =cut |
| 2091 | |
| 2092 | |
| 2093 | |
| 2094 | |
| 2095 | *csytrs = \&PDL::csytrs; |
| 2096 | |
| 2097 | |
| 2098 | |
| 2099 | |
| 2100 | |
| 2101 | |
| 2102 | =head2 chetrs |
| 2103 | |
| 2104 | =for sig |
| 2105 | |
| 2106 | Signature: (complex A(n,n); int uplo();complex [io]B(n,m); int ipiv(n); int [o]info()) |
| 2107 | Types: (float double) |
| 2108 | |
| 2109 | =for usage |
| 2110 | |
| 2111 | $info = chetrs($A, $uplo, $B, $ipiv); |
| 2112 | chetrs($A, $uplo, $B, $ipiv, $info); # all arguments given |
| 2113 | $info = $A->chetrs($uplo, $B, $ipiv); # method call |
| 2114 | $A->chetrs($uplo, $B, $ipiv, $info); |
| 2115 | |
| 2116 | =for ref |
| 2117 | |
| 2118 | Complex version of L<PDL::LinearAlgebra::Real/sytrs> for Hermitian matrix |
| 2119 | |
| 2120 | =pod |
| 2121 | |
| 2122 | Broadcasts over its inputs. |
| 2123 | |
| 2124 | =for bad |
| 2125 | |
| 2126 | C<chetrs> ignores the bad-value flag of the input ndarrays. |
| 2127 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2128 | |
| 2129 | =cut |
| 2130 | |
| 2131 | |
| 2132 | |
| 2133 | |
| 2134 | *chetrs = \&PDL::chetrs; |
| 2135 | |
| 2136 | |
| 2137 | |
| 2138 | |
| 2139 | |
| 2140 | |
| 2141 | =head2 cpotrs |
| 2142 | |
| 2143 | =for sig |
| 2144 | |
| 2145 | Signature: (complex A(n,n); int uplo();complex [io]B(n,m); int [o]info()) |
| 2146 | Types: (float double) |
| 2147 | |
| 2148 | =for usage |
| 2149 | |
| 2150 | $info = cpotrs($A, $uplo, $B); |
| 2151 | cpotrs($A, $uplo, $B, $info); # all arguments given |
| 2152 | $info = $A->cpotrs($uplo, $B); # method call |
| 2153 | $A->cpotrs($uplo, $B, $info); |
| 2154 | |
| 2155 | =for ref |
| 2156 | |
| 2157 | Complex version of L<PDL::LinearAlgebra::Real/potrs> for Hermitian positive definite matrix |
| 2158 | |
| 2159 | =pod |
| 2160 | |
| 2161 | Broadcasts over its inputs. |
| 2162 | |
| 2163 | =for bad |
| 2164 | |
| 2165 | C<cpotrs> ignores the bad-value flag of the input ndarrays. |
| 2166 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2167 | |
| 2168 | =cut |
| 2169 | |
| 2170 | |
| 2171 | |
| 2172 | |
| 2173 | *cpotrs = \&PDL::cpotrs; |
| 2174 | |
| 2175 | |
| 2176 | |
| 2177 | |
| 2178 | |
| 2179 | |
| 2180 | =head2 ctrtrs |
| 2181 | |
| 2182 | =for sig |
| 2183 | |
| 2184 | Signature: (complex A(n,n); int uplo(); int trans(); int diag();complex [io]B(n,m); int [o]info()) |
| 2185 | Types: (float double) |
| 2186 | |
| 2187 | =for usage |
| 2188 | |
| 2189 | $info = ctrtrs($A, $uplo, $trans, $diag, $B); |
| 2190 | ctrtrs($A, $uplo, $trans, $diag, $B, $info); # all arguments given |
| 2191 | $info = $A->ctrtrs($uplo, $trans, $diag, $B); # method call |
| 2192 | $A->ctrtrs($uplo, $trans, $diag, $B, $info); |
| 2193 | |
| 2194 | =for ref |
| 2195 | |
| 2196 | Complex version of L<PDL::LinearAlgebra::Real/trtrs> |
| 2197 | |
| 2198 | Arguments |
| 2199 | ========= |
| 2200 | trans: = 0: No transpose; |
| 2201 | = 1: Transpose; |
| 2202 | = 2: Conjugate transpose; |
| 2203 | |
| 2204 | =pod |
| 2205 | |
| 2206 | Broadcasts over its inputs. |
| 2207 | |
| 2208 | =for bad |
| 2209 | |
| 2210 | C<ctrtrs> ignores the bad-value flag of the input ndarrays. |
| 2211 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2212 | |
| 2213 | =cut |
| 2214 | |
| 2215 | |
| 2216 | |
| 2217 | |
| 2218 | *ctrtrs = \&PDL::ctrtrs; |
| 2219 | |
| 2220 | |
| 2221 | |
| 2222 | |
| 2223 | |
| 2224 | |
| 2225 | =head2 clatrs |
| 2226 | |
| 2227 | =for sig |
| 2228 | |
| 2229 | Signature: (complex A(n,n); int uplo(); int trans(); int diag(); int normin();complex [io]x(n); [o]scale();[io]cnorm(n);int [o]info()) |
| 2230 | Types: (float double) |
| 2231 | |
| 2232 | =for usage |
| 2233 | |
| 2234 | ($scale, $info) = clatrs($A, $uplo, $trans, $diag, $normin, $x, $cnorm); |
| 2235 | clatrs($A, $uplo, $trans, $diag, $normin, $x, $scale, $cnorm, $info); # all arguments given |
| 2236 | ($scale, $info) = $A->clatrs($uplo, $trans, $diag, $normin, $x, $cnorm); # method call |
| 2237 | $A->clatrs($uplo, $trans, $diag, $normin, $x, $scale, $cnorm, $info); |
| 2238 | |
| 2239 | =for ref |
| 2240 | |
| 2241 | Complex version of L<PDL::LinearAlgebra::Real/latrs> |
| 2242 | |
| 2243 | Arguments |
| 2244 | ========= |
| 2245 | trans: = 0: No transpose; |
| 2246 | = 1: Transpose; |
| 2247 | = 2: Conjugate transpose; |
| 2248 | |
| 2249 | =pod |
| 2250 | |
| 2251 | Broadcasts over its inputs. |
| 2252 | |
| 2253 | =for bad |
| 2254 | |
| 2255 | C<clatrs> ignores the bad-value flag of the input ndarrays. |
| 2256 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2257 | |
| 2258 | =cut |
| 2259 | |
| 2260 | |
| 2261 | |
| 2262 | |
| 2263 | *clatrs = \&PDL::clatrs; |
| 2264 | |
| 2265 | |
| 2266 | |
| 2267 | |
| 2268 | |
| 2269 | |
| 2270 | =head2 cgecon |
| 2271 | |
| 2272 | =for sig |
| 2273 | |
| 2274 | Signature: (complex A(n,n); int norm(); anorm(); [o]rcond();int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n))); [t]work(workn=CALC(4*$SIZE(n)))) |
| 2275 | Types: (float double) |
| 2276 | |
| 2277 | =for usage |
| 2278 | |
| 2279 | ($rcond, $info) = cgecon($A, $norm, $anorm); |
| 2280 | cgecon($A, $norm, $anorm, $rcond, $info); # all arguments given |
| 2281 | ($rcond, $info) = $A->cgecon($norm, $anorm); # method call |
| 2282 | $A->cgecon($norm, $anorm, $rcond, $info); |
| 2283 | |
| 2284 | =for ref |
| 2285 | |
| 2286 | Complex version of L<PDL::LinearAlgebra::Real/gecon> |
| 2287 | |
| 2288 | =pod |
| 2289 | |
| 2290 | Broadcasts over its inputs. |
| 2291 | |
| 2292 | =for bad |
| 2293 | |
| 2294 | C<cgecon> ignores the bad-value flag of the input ndarrays. |
| 2295 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2296 | |
| 2297 | =cut |
| 2298 | |
| 2299 | |
| 2300 | |
| 2301 | |
| 2302 | *cgecon = \&PDL::cgecon; |
| 2303 | |
| 2304 | |
| 2305 | |
| 2306 | |
| 2307 | |
| 2308 | |
| 2309 | =head2 csycon |
| 2310 | |
| 2311 | =for sig |
| 2312 | |
| 2313 | Signature: (complex A(n,n); int uplo(); int ipiv(n); anorm(); [o]rcond();int [o]info(); [t]work(workn=CALC(4*$SIZE(n)))) |
| 2314 | Types: (float double) |
| 2315 | |
| 2316 | =for usage |
| 2317 | |
| 2318 | ($rcond, $info) = csycon($A, $uplo, $ipiv, $anorm); |
| 2319 | csycon($A, $uplo, $ipiv, $anorm, $rcond, $info); # all arguments given |
| 2320 | ($rcond, $info) = $A->csycon($uplo, $ipiv, $anorm); # method call |
| 2321 | $A->csycon($uplo, $ipiv, $anorm, $rcond, $info); |
| 2322 | |
| 2323 | =for ref |
| 2324 | |
| 2325 | Complex version of L<PDL::LinearAlgebra::Real/sycon> |
| 2326 | |
| 2327 | =pod |
| 2328 | |
| 2329 | Broadcasts over its inputs. |
| 2330 | |
| 2331 | =for bad |
| 2332 | |
| 2333 | C<csycon> ignores the bad-value flag of the input ndarrays. |
| 2334 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2335 | |
| 2336 | =cut |
| 2337 | |
| 2338 | |
| 2339 | |
| 2340 | |
| 2341 | *csycon = \&PDL::csycon; |
| 2342 | |
| 2343 | |
| 2344 | |
| 2345 | |
| 2346 | |
| 2347 | |
| 2348 | =head2 checon |
| 2349 | |
| 2350 | =for sig |
| 2351 | |
| 2352 | Signature: (complex A(n,n); int uplo(); int ipiv(n); anorm(); [o]rcond();int [o]info(); [t]work(workn=CALC(4*$SIZE(n)))) |
| 2353 | Types: (float double) |
| 2354 | |
| 2355 | =for usage |
| 2356 | |
| 2357 | ($rcond, $info) = checon($A, $uplo, $ipiv, $anorm); |
| 2358 | checon($A, $uplo, $ipiv, $anorm, $rcond, $info); # all arguments given |
| 2359 | ($rcond, $info) = $A->checon($uplo, $ipiv, $anorm); # method call |
| 2360 | $A->checon($uplo, $ipiv, $anorm, $rcond, $info); |
| 2361 | |
| 2362 | =for ref |
| 2363 | |
| 2364 | Complex version of L<PDL::LinearAlgebra::Real/sycon> for Hermitian matrix |
| 2365 | |
| 2366 | =pod |
| 2367 | |
| 2368 | Broadcasts over its inputs. |
| 2369 | |
| 2370 | =for bad |
| 2371 | |
| 2372 | C<checon> ignores the bad-value flag of the input ndarrays. |
| 2373 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2374 | |
| 2375 | =cut |
| 2376 | |
| 2377 | |
| 2378 | |
| 2379 | |
| 2380 | *checon = \&PDL::checon; |
| 2381 | |
| 2382 | |
| 2383 | |
| 2384 | |
| 2385 | |
| 2386 | |
| 2387 | =head2 cpocon |
| 2388 | |
| 2389 | =for sig |
| 2390 | |
| 2391 | Signature: (complex A(n,n); int uplo(); anorm(); [o]rcond();int [o]info(); [t]work(workn=CALC(4*$SIZE(n))); [t]rwork(n)) |
| 2392 | Types: (float double) |
| 2393 | |
| 2394 | =for usage |
| 2395 | |
| 2396 | ($rcond, $info) = cpocon($A, $uplo, $anorm); |
| 2397 | cpocon($A, $uplo, $anorm, $rcond, $info); # all arguments given |
| 2398 | ($rcond, $info) = $A->cpocon($uplo, $anorm); # method call |
| 2399 | $A->cpocon($uplo, $anorm, $rcond, $info); |
| 2400 | |
| 2401 | =for ref |
| 2402 | |
| 2403 | Complex version of L<PDL::LinearAlgebra::Real/pocon> for Hermitian positive definite matrix |
| 2404 | |
| 2405 | =pod |
| 2406 | |
| 2407 | Broadcasts over its inputs. |
| 2408 | |
| 2409 | =for bad |
| 2410 | |
| 2411 | C<cpocon> ignores the bad-value flag of the input ndarrays. |
| 2412 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2413 | |
| 2414 | =cut |
| 2415 | |
| 2416 | |
| 2417 | |
| 2418 | |
| 2419 | *cpocon = \&PDL::cpocon; |
| 2420 | |
| 2421 | |
| 2422 | |
| 2423 | |
| 2424 | |
| 2425 | |
| 2426 | =head2 ctrcon |
| 2427 | |
| 2428 | =for sig |
| 2429 | |
| 2430 | Signature: (complex A(n,n); int norm();int uplo();int diag(); [o]rcond();int [o]info(); [t]work(workn=CALC(4*$SIZE(n))); [t]rwork(n)) |
| 2431 | Types: (float double) |
| 2432 | |
| 2433 | =for usage |
| 2434 | |
| 2435 | ($rcond, $info) = ctrcon($A, $norm, $uplo, $diag); |
| 2436 | ctrcon($A, $norm, $uplo, $diag, $rcond, $info); # all arguments given |
| 2437 | ($rcond, $info) = $A->ctrcon($norm, $uplo, $diag); # method call |
| 2438 | $A->ctrcon($norm, $uplo, $diag, $rcond, $info); |
| 2439 | |
| 2440 | =for ref |
| 2441 | |
| 2442 | Complex version of L<PDL::LinearAlgebra::Real/trcon> |
| 2443 | |
| 2444 | =pod |
| 2445 | |
| 2446 | Broadcasts over its inputs. |
| 2447 | |
| 2448 | =for bad |
| 2449 | |
| 2450 | C<ctrcon> ignores the bad-value flag of the input ndarrays. |
| 2451 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2452 | |
| 2453 | =cut |
| 2454 | |
| 2455 | |
| 2456 | |
| 2457 | |
| 2458 | *ctrcon = \&PDL::ctrcon; |
| 2459 | |
| 2460 | |
| 2461 | |
| 2462 | |
| 2463 | |
| 2464 | |
| 2465 | =head2 cgeqp3 |
| 2466 | |
| 2467 | =for sig |
| 2468 | |
| 2469 | Signature: (complex [io]A(m,n); int [io]jpvt(n);complex [o]tau(k); int [o]info(); [t]rwork(rworkn=CALC(2*$SIZE(n)))) |
| 2470 | Types: (float double) |
| 2471 | |
| 2472 | =for usage |
| 2473 | |
| 2474 | ($tau, $info) = cgeqp3($A, $jpvt); |
| 2475 | cgeqp3($A, $jpvt, $tau, $info); # all arguments given |
| 2476 | ($tau, $info) = $A->cgeqp3($jpvt); # method call |
| 2477 | $A->cgeqp3($jpvt, $tau, $info); |
| 2478 | |
| 2479 | =for ref |
| 2480 | |
| 2481 | Complex version of L<PDL::LinearAlgebra::Real/geqp3> |
| 2482 | |
| 2483 | =pod |
| 2484 | |
| 2485 | Broadcasts over its inputs. |
| 2486 | |
| 2487 | =for bad |
| 2488 | |
| 2489 | C<cgeqp3> ignores the bad-value flag of the input ndarrays. |
| 2490 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2491 | |
| 2492 | =cut |
| 2493 | |
| 2494 | |
| 2495 | |
| 2496 | |
| 2497 | *cgeqp3 = \&PDL::cgeqp3; |
| 2498 | |
| 2499 | |
| 2500 | |
| 2501 | |
| 2502 | |
| 2503 | |
| 2504 | =head2 cgeqrf |
| 2505 | |
| 2506 | =for sig |
| 2507 | |
| 2508 | Signature: (complex [io]A(m,n);complex [o]tau(k); int [o]info()) |
| 2509 | Types: (float double) |
| 2510 | |
| 2511 | =for usage |
| 2512 | |
| 2513 | ($tau, $info) = cgeqrf($A); |
| 2514 | cgeqrf($A, $tau, $info); # all arguments given |
| 2515 | ($tau, $info) = $A->cgeqrf; # method call |
| 2516 | $A->cgeqrf($tau, $info); |
| 2517 | |
| 2518 | =for ref |
| 2519 | |
| 2520 | Complex version of L<PDL::LinearAlgebra::Real/geqrf> |
| 2521 | |
| 2522 | =pod |
| 2523 | |
| 2524 | Broadcasts over its inputs. |
| 2525 | |
| 2526 | =for bad |
| 2527 | |
| 2528 | C<cgeqrf> ignores the bad-value flag of the input ndarrays. |
| 2529 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2530 | |
| 2531 | =cut |
| 2532 | |
| 2533 | |
| 2534 | |
| 2535 | |
| 2536 | *cgeqrf = \&PDL::cgeqrf; |
| 2537 | |
| 2538 | |
| 2539 | |
| 2540 | |
| 2541 | |
| 2542 | |
| 2543 | =head2 cungqr |
| 2544 | |
| 2545 | =for sig |
| 2546 | |
| 2547 | Signature: (complex [io]A(m,n);complex tau(k); int [o]info()) |
| 2548 | Types: (float double) |
| 2549 | |
| 2550 | =for usage |
| 2551 | |
| 2552 | $info = cungqr($A, $tau); |
| 2553 | cungqr($A, $tau, $info); # all arguments given |
| 2554 | $info = $A->cungqr($tau); # method call |
| 2555 | $A->cungqr($tau, $info); |
| 2556 | |
| 2557 | =for ref |
| 2558 | |
| 2559 | Complex version of L<PDL::LinearAlgebra::Real/orgqr> |
| 2560 | |
| 2561 | =pod |
| 2562 | |
| 2563 | Broadcasts over its inputs. |
| 2564 | |
| 2565 | =for bad |
| 2566 | |
| 2567 | C<cungqr> ignores the bad-value flag of the input ndarrays. |
| 2568 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2569 | |
| 2570 | =cut |
| 2571 | |
| 2572 | |
| 2573 | |
| 2574 | |
| 2575 | *cungqr = \&PDL::cungqr; |
| 2576 | |
| 2577 | |
| 2578 | |
| 2579 | |
| 2580 | |
| 2581 | |
| 2582 | =head2 cunmqr |
| 2583 | |
| 2584 | =for sig |
| 2585 | |
| 2586 | Signature: (complex A(p,k); int side(); int trans();complex tau(k);complex [io]C(m,n);int [o]info()) |
| 2587 | Types: (float double) |
| 2588 | |
| 2589 | =for usage |
| 2590 | |
| 2591 | $info = cunmqr($A, $side, $trans, $tau, $C); |
| 2592 | cunmqr($A, $side, $trans, $tau, $C, $info); # all arguments given |
| 2593 | $info = $A->cunmqr($side, $trans, $tau, $C); # method call |
| 2594 | $A->cunmqr($side, $trans, $tau, $C, $info); |
| 2595 | |
| 2596 | =for ref |
| 2597 | |
| 2598 | Complex version of L<PDL::LinearAlgebra::Real/ormqr>. Here trans = 1 means conjugate transpose. |
| 2599 | |
| 2600 | =pod |
| 2601 | |
| 2602 | Broadcasts over its inputs. |
| 2603 | |
| 2604 | =for bad |
| 2605 | |
| 2606 | C<cunmqr> ignores the bad-value flag of the input ndarrays. |
| 2607 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2608 | |
| 2609 | =cut |
| 2610 | |
| 2611 | |
| 2612 | |
| 2613 | |
| 2614 | *cunmqr = \&PDL::cunmqr; |
| 2615 | |
| 2616 | |
| 2617 | |
| 2618 | |
| 2619 | |
| 2620 | |
| 2621 | =head2 cgelqf |
| 2622 | |
| 2623 | =for sig |
| 2624 | |
| 2625 | Signature: (complex [io]A(m,n);complex [o]tau(k); int [o]info()) |
| 2626 | Types: (float double) |
| 2627 | |
| 2628 | =for usage |
| 2629 | |
| 2630 | ($tau, $info) = cgelqf($A); |
| 2631 | cgelqf($A, $tau, $info); # all arguments given |
| 2632 | ($tau, $info) = $A->cgelqf; # method call |
| 2633 | $A->cgelqf($tau, $info); |
| 2634 | |
| 2635 | =for ref |
| 2636 | |
| 2637 | Complex version of L<PDL::LinearAlgebra::Real/gelqf> |
| 2638 | |
| 2639 | =pod |
| 2640 | |
| 2641 | Broadcasts over its inputs. |
| 2642 | |
| 2643 | =for bad |
| 2644 | |
| 2645 | C<cgelqf> ignores the bad-value flag of the input ndarrays. |
| 2646 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2647 | |
| 2648 | =cut |
| 2649 | |
| 2650 | |
| 2651 | |
| 2652 | |
| 2653 | *cgelqf = \&PDL::cgelqf; |
| 2654 | |
| 2655 | |
| 2656 | |
| 2657 | |
| 2658 | |
| 2659 | |
| 2660 | =head2 cunglq |
| 2661 | |
| 2662 | =for sig |
| 2663 | |
| 2664 | Signature: (complex [io]A(m,n);complex tau(k); int [o]info()) |
| 2665 | Types: (float double) |
| 2666 | |
| 2667 | =for usage |
| 2668 | |
| 2669 | $info = cunglq($A, $tau); |
| 2670 | cunglq($A, $tau, $info); # all arguments given |
| 2671 | $info = $A->cunglq($tau); # method call |
| 2672 | $A->cunglq($tau, $info); |
| 2673 | |
| 2674 | =for ref |
| 2675 | |
| 2676 | Complex version of L<PDL::LinearAlgebra::Real/orglq> |
| 2677 | |
| 2678 | =pod |
| 2679 | |
| 2680 | Broadcasts over its inputs. |
| 2681 | |
| 2682 | =for bad |
| 2683 | |
| 2684 | C<cunglq> ignores the bad-value flag of the input ndarrays. |
| 2685 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2686 | |
| 2687 | =cut |
| 2688 | |
| 2689 | |
| 2690 | |
| 2691 | |
| 2692 | *cunglq = \&PDL::cunglq; |
| 2693 | |
| 2694 | |
| 2695 | |
| 2696 | |
| 2697 | |
| 2698 | |
| 2699 | =head2 cunmlq |
| 2700 | |
| 2701 | =for sig |
| 2702 | |
| 2703 | Signature: (complex A(k,p); int side(); int trans();complex tau(k);complex [io]C(m,n);int [o]info()) |
| 2704 | Types: (float double) |
| 2705 | |
| 2706 | =for usage |
| 2707 | |
| 2708 | $info = cunmlq($A, $side, $trans, $tau, $C); |
| 2709 | cunmlq($A, $side, $trans, $tau, $C, $info); # all arguments given |
| 2710 | $info = $A->cunmlq($side, $trans, $tau, $C); # method call |
| 2711 | $A->cunmlq($side, $trans, $tau, $C, $info); |
| 2712 | |
| 2713 | =for ref |
| 2714 | |
| 2715 | Complex version of L<PDL::LinearAlgebra::Real/ormlq>. Here trans = 1 means conjugate transpose. |
| 2716 | |
| 2717 | =pod |
| 2718 | |
| 2719 | Broadcasts over its inputs. |
| 2720 | |
| 2721 | =for bad |
| 2722 | |
| 2723 | C<cunmlq> ignores the bad-value flag of the input ndarrays. |
| 2724 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2725 | |
| 2726 | =cut |
| 2727 | |
| 2728 | |
| 2729 | |
| 2730 | |
| 2731 | *cunmlq = \&PDL::cunmlq; |
| 2732 | |
| 2733 | |
| 2734 | |
| 2735 | |
| 2736 | |
| 2737 | |
| 2738 | =head2 cgeqlf |
| 2739 | |
| 2740 | =for sig |
| 2741 | |
| 2742 | Signature: (complex [io]A(m,n);complex [o]tau(k); int [o]info()) |
| 2743 | Types: (float double) |
| 2744 | |
| 2745 | =for usage |
| 2746 | |
| 2747 | ($tau, $info) = cgeqlf($A); |
| 2748 | cgeqlf($A, $tau, $info); # all arguments given |
| 2749 | ($tau, $info) = $A->cgeqlf; # method call |
| 2750 | $A->cgeqlf($tau, $info); |
| 2751 | |
| 2752 | =for ref |
| 2753 | |
| 2754 | Complex version of L<PDL::LinearAlgebra::Real/geqlf> |
| 2755 | |
| 2756 | =pod |
| 2757 | |
| 2758 | Broadcasts over its inputs. |
| 2759 | |
| 2760 | =for bad |
| 2761 | |
| 2762 | C<cgeqlf> ignores the bad-value flag of the input ndarrays. |
| 2763 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2764 | |
| 2765 | =cut |
| 2766 | |
| 2767 | |
| 2768 | |
| 2769 | |
| 2770 | *cgeqlf = \&PDL::cgeqlf; |
| 2771 | |
| 2772 | |
| 2773 | |
| 2774 | |
| 2775 | |
| 2776 | |
| 2777 | =head2 cungql |
| 2778 | |
| 2779 | =for sig |
| 2780 | |
| 2781 | Signature: (complex [io]A(m,n);complex tau(k); int [o]info()) |
| 2782 | Types: (float double) |
| 2783 | |
| 2784 | =for usage |
| 2785 | |
| 2786 | $info = cungql($A, $tau); |
| 2787 | cungql($A, $tau, $info); # all arguments given |
| 2788 | $info = $A->cungql($tau); # method call |
| 2789 | $A->cungql($tau, $info); |
| 2790 | |
| 2791 | =for ref |
| 2792 | Complex version of L<PDL::LinearAlgebra::Real/orgql>. |
| 2793 | |
| 2794 | =pod |
| 2795 | |
| 2796 | Broadcasts over its inputs. |
| 2797 | |
| 2798 | =for bad |
| 2799 | |
| 2800 | C<cungql> ignores the bad-value flag of the input ndarrays. |
| 2801 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2802 | |
| 2803 | =cut |
| 2804 | |
| 2805 | |
| 2806 | |
| 2807 | |
| 2808 | *cungql = \&PDL::cungql; |
| 2809 | |
| 2810 | |
| 2811 | |
| 2812 | |
| 2813 | |
| 2814 | |
| 2815 | =head2 cunmql |
| 2816 | |
| 2817 | =for sig |
| 2818 | |
| 2819 | Signature: (complex A(p,k); int side(); int trans();complex tau(k);complex [io]C(m,n);int [o]info()) |
| 2820 | Types: (float double) |
| 2821 | |
| 2822 | =for usage |
| 2823 | |
| 2824 | $info = cunmql($A, $side, $trans, $tau, $C); |
| 2825 | cunmql($A, $side, $trans, $tau, $C, $info); # all arguments given |
| 2826 | $info = $A->cunmql($side, $trans, $tau, $C); # method call |
| 2827 | $A->cunmql($side, $trans, $tau, $C, $info); |
| 2828 | |
| 2829 | =for ref |
| 2830 | |
| 2831 | Complex version of L<PDL::LinearAlgebra::Real/ormql>. Here trans = 1 means conjugate transpose. |
| 2832 | |
| 2833 | =pod |
| 2834 | |
| 2835 | Broadcasts over its inputs. |
| 2836 | |
| 2837 | =for bad |
| 2838 | |
| 2839 | C<cunmql> ignores the bad-value flag of the input ndarrays. |
| 2840 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2841 | |
| 2842 | =cut |
| 2843 | |
| 2844 | |
| 2845 | |
| 2846 | |
| 2847 | *cunmql = \&PDL::cunmql; |
| 2848 | |
| 2849 | |
| 2850 | |
| 2851 | |
| 2852 | |
| 2853 | |
| 2854 | =head2 cgerqf |
| 2855 | |
| 2856 | =for sig |
| 2857 | |
| 2858 | Signature: (complex [io]A(m,n);complex [o]tau(k); int [o]info()) |
| 2859 | Types: (float double) |
| 2860 | |
| 2861 | =for usage |
| 2862 | |
| 2863 | ($tau, $info) = cgerqf($A); |
| 2864 | cgerqf($A, $tau, $info); # all arguments given |
| 2865 | ($tau, $info) = $A->cgerqf; # method call |
| 2866 | $A->cgerqf($tau, $info); |
| 2867 | |
| 2868 | =for ref |
| 2869 | |
| 2870 | Complex version of L<PDL::LinearAlgebra::Real/gerqf> |
| 2871 | |
| 2872 | =pod |
| 2873 | |
| 2874 | Broadcasts over its inputs. |
| 2875 | |
| 2876 | =for bad |
| 2877 | |
| 2878 | C<cgerqf> ignores the bad-value flag of the input ndarrays. |
| 2879 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2880 | |
| 2881 | =cut |
| 2882 | |
| 2883 | |
| 2884 | |
| 2885 | |
| 2886 | *cgerqf = \&PDL::cgerqf; |
| 2887 | |
| 2888 | |
| 2889 | |
| 2890 | |
| 2891 | |
| 2892 | |
| 2893 | =head2 cungrq |
| 2894 | |
| 2895 | =for sig |
| 2896 | |
| 2897 | Signature: (complex [io]A(m,n);complex tau(k); int [o]info()) |
| 2898 | Types: (float double) |
| 2899 | |
| 2900 | =for usage |
| 2901 | |
| 2902 | $info = cungrq($A, $tau); |
| 2903 | cungrq($A, $tau, $info); # all arguments given |
| 2904 | $info = $A->cungrq($tau); # method call |
| 2905 | $A->cungrq($tau, $info); |
| 2906 | |
| 2907 | =for ref |
| 2908 | |
| 2909 | Complex version of L<PDL::LinearAlgebra::Real/orgrq>. |
| 2910 | |
| 2911 | =pod |
| 2912 | |
| 2913 | Broadcasts over its inputs. |
| 2914 | |
| 2915 | =for bad |
| 2916 | |
| 2917 | C<cungrq> ignores the bad-value flag of the input ndarrays. |
| 2918 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2919 | |
| 2920 | =cut |
| 2921 | |
| 2922 | |
| 2923 | |
| 2924 | |
| 2925 | *cungrq = \&PDL::cungrq; |
| 2926 | |
| 2927 | |
| 2928 | |
| 2929 | |
| 2930 | |
| 2931 | |
| 2932 | =head2 cunmrq |
| 2933 | |
| 2934 | =for sig |
| 2935 | |
| 2936 | Signature: (complex A(k,p); int side(); int trans();complex tau(k);complex [io]C(m,n);int [o]info()) |
| 2937 | Types: (float double) |
| 2938 | |
| 2939 | =for usage |
| 2940 | |
| 2941 | $info = cunmrq($A, $side, $trans, $tau, $C); |
| 2942 | cunmrq($A, $side, $trans, $tau, $C, $info); # all arguments given |
| 2943 | $info = $A->cunmrq($side, $trans, $tau, $C); # method call |
| 2944 | $A->cunmrq($side, $trans, $tau, $C, $info); |
| 2945 | |
| 2946 | =for ref |
| 2947 | |
| 2948 | Complex version of L<PDL::LinearAlgebra::Real/ormrq>. Here trans = 1 means conjugate transpose. |
| 2949 | |
| 2950 | =pod |
| 2951 | |
| 2952 | Broadcasts over its inputs. |
| 2953 | |
| 2954 | =for bad |
| 2955 | |
| 2956 | C<cunmrq> ignores the bad-value flag of the input ndarrays. |
| 2957 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2958 | |
| 2959 | =cut |
| 2960 | |
| 2961 | |
| 2962 | |
| 2963 | |
| 2964 | *cunmrq = \&PDL::cunmrq; |
| 2965 | |
| 2966 | |
| 2967 | |
| 2968 | |
| 2969 | |
| 2970 | |
| 2971 | =head2 ctzrzf |
| 2972 | |
| 2973 | =for sig |
| 2974 | |
| 2975 | Signature: (complex [io]A(m,n);complex [o]tau(k); int [o]info()) |
| 2976 | Types: (float double) |
| 2977 | |
| 2978 | =for usage |
| 2979 | |
| 2980 | ($tau, $info) = ctzrzf($A); |
| 2981 | ctzrzf($A, $tau, $info); # all arguments given |
| 2982 | ($tau, $info) = $A->ctzrzf; # method call |
| 2983 | $A->ctzrzf($tau, $info); |
| 2984 | |
| 2985 | =for ref |
| 2986 | |
| 2987 | Complex version of L<PDL::LinearAlgebra::Real/tzrzf> |
| 2988 | |
| 2989 | =pod |
| 2990 | |
| 2991 | Broadcasts over its inputs. |
| 2992 | |
| 2993 | =for bad |
| 2994 | |
| 2995 | C<ctzrzf> ignores the bad-value flag of the input ndarrays. |
| 2996 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 2997 | |
| 2998 | =cut |
| 2999 | |
| 3000 | |
| 3001 | |
| 3002 | |
| 3003 | *ctzrzf = \&PDL::ctzrzf; |
| 3004 | |
| 3005 | |
| 3006 | |
| 3007 | |
| 3008 | |
| 3009 | |
| 3010 | =head2 cunmrz |
| 3011 | |
| 3012 | =for sig |
| 3013 | |
| 3014 | Signature: (complex A(k,p); int side(); int trans();complex tau(k);complex [io]C(m,n);int [o]info()) |
| 3015 | Types: (float double) |
| 3016 | |
| 3017 | =for usage |
| 3018 | |
| 3019 | $info = cunmrz($A, $side, $trans, $tau, $C); |
| 3020 | cunmrz($A, $side, $trans, $tau, $C, $info); # all arguments given |
| 3021 | $info = $A->cunmrz($side, $trans, $tau, $C); # method call |
| 3022 | $A->cunmrz($side, $trans, $tau, $C, $info); |
| 3023 | |
| 3024 | =for ref |
| 3025 | |
| 3026 | Complex version of L<PDL::LinearAlgebra::Real/ormrz>. Here trans = 1 means conjugate transpose. |
| 3027 | |
| 3028 | =pod |
| 3029 | |
| 3030 | Broadcasts over its inputs. |
| 3031 | |
| 3032 | =for bad |
| 3033 | |
| 3034 | C<cunmrz> ignores the bad-value flag of the input ndarrays. |
| 3035 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3036 | |
| 3037 | =cut |
| 3038 | |
| 3039 | |
| 3040 | |
| 3041 | |
| 3042 | *cunmrz = \&PDL::cunmrz; |
| 3043 | |
| 3044 | |
| 3045 | |
| 3046 | |
| 3047 | |
| 3048 | |
| 3049 | =head2 cgehrd |
| 3050 | |
| 3051 | =for sig |
| 3052 | |
| 3053 | Signature: (complex [io]A(n,n); int ilo();int ihi();complex [o]tau(k); int [o]info()) |
| 3054 | Types: (float double) |
| 3055 | |
| 3056 | =for usage |
| 3057 | |
| 3058 | ($tau, $info) = cgehrd($A, $ilo, $ihi); |
| 3059 | cgehrd($A, $ilo, $ihi, $tau, $info); # all arguments given |
| 3060 | ($tau, $info) = $A->cgehrd($ilo, $ihi); # method call |
| 3061 | $A->cgehrd($ilo, $ihi, $tau, $info); |
| 3062 | |
| 3063 | =for ref |
| 3064 | |
| 3065 | Complex version of L<PDL::LinearAlgebra::Real/gehrd> |
| 3066 | |
| 3067 | =pod |
| 3068 | |
| 3069 | Broadcasts over its inputs. |
| 3070 | |
| 3071 | =for bad |
| 3072 | |
| 3073 | C<cgehrd> ignores the bad-value flag of the input ndarrays. |
| 3074 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3075 | |
| 3076 | =cut |
| 3077 | |
| 3078 | |
| 3079 | |
| 3080 | |
| 3081 | *cgehrd = \&PDL::cgehrd; |
| 3082 | |
| 3083 | |
| 3084 | |
| 3085 | |
| 3086 | |
| 3087 | |
| 3088 | =head2 cunghr |
| 3089 | |
| 3090 | =for sig |
| 3091 | |
| 3092 | Signature: (complex [io]A(n,n); int ilo();int ihi();complex tau(k); int [o]info()) |
| 3093 | Types: (float double) |
| 3094 | |
| 3095 | =for usage |
| 3096 | |
| 3097 | $info = cunghr($A, $ilo, $ihi, $tau); |
| 3098 | cunghr($A, $ilo, $ihi, $tau, $info); # all arguments given |
| 3099 | $info = $A->cunghr($ilo, $ihi, $tau); # method call |
| 3100 | $A->cunghr($ilo, $ihi, $tau, $info); |
| 3101 | |
| 3102 | =for ref |
| 3103 | |
| 3104 | Complex version of L<PDL::LinearAlgebra::Real/orghr> |
| 3105 | |
| 3106 | =pod |
| 3107 | |
| 3108 | Broadcasts over its inputs. |
| 3109 | |
| 3110 | =for bad |
| 3111 | |
| 3112 | C<cunghr> ignores the bad-value flag of the input ndarrays. |
| 3113 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3114 | |
| 3115 | =cut |
| 3116 | |
| 3117 | |
| 3118 | |
| 3119 | |
| 3120 | *cunghr = \&PDL::cunghr; |
| 3121 | |
| 3122 | |
| 3123 | |
| 3124 | |
| 3125 | |
| 3126 | |
| 3127 | =head2 chseqr |
| 3128 | |
| 3129 | =for sig |
| 3130 | |
| 3131 | Signature: (complex [io]H(n,n); int job();int compz();int ilo();int ihi();complex [o]w(n);complex [o]Z(m,m); int [o]info()) |
| 3132 | Types: (float double) |
| 3133 | |
| 3134 | =for usage |
| 3135 | |
| 3136 | ($w, $Z, $info) = chseqr($H, $job, $compz, $ilo, $ihi); |
| 3137 | chseqr($H, $job, $compz, $ilo, $ihi, $w, $Z, $info); # all arguments given |
| 3138 | ($w, $Z, $info) = $H->chseqr($job, $compz, $ilo, $ihi); # method call |
| 3139 | $H->chseqr($job, $compz, $ilo, $ihi, $w, $Z, $info); |
| 3140 | |
| 3141 | =for ref |
| 3142 | |
| 3143 | Complex version of L<PDL::LinearAlgebra::Real/hseqr> |
| 3144 | |
| 3145 | =pod |
| 3146 | |
| 3147 | Broadcasts over its inputs. |
| 3148 | |
| 3149 | =for bad |
| 3150 | |
| 3151 | C<chseqr> ignores the bad-value flag of the input ndarrays. |
| 3152 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3153 | |
| 3154 | =cut |
| 3155 | |
| 3156 | |
| 3157 | |
| 3158 | |
| 3159 | *chseqr = \&PDL::chseqr; |
| 3160 | |
| 3161 | |
| 3162 | |
| 3163 | |
| 3164 | |
| 3165 | |
| 3166 | =head2 ctrevc |
| 3167 | |
| 3168 | =for sig |
| 3169 | |
| 3170 | Signature: (complex T(n,n);int select(q);complex [o]VL(m,m);complex [o]VR(p,p);int [o]m(); int [o]info(); [t]work(workn=CALC(5*$SIZE(n))); int side; int howmny) |
| 3171 | Types: (float double) |
| 3172 | |
| 3173 | =for usage |
| 3174 | |
| 3175 | ($VL, $VR, $m, $info) = ctrevc($T, $side, $howmny, $select); |
| 3176 | ctrevc($T, $side, $howmny, $select, $VL, $VR, $m, $info); # all arguments given |
| 3177 | ($VL, $VR, $m, $info) = $T->ctrevc($side, $howmny, $select); # method call |
| 3178 | $T->ctrevc($side, $howmny, $select, $VL, $VR, $m, $info); |
| 3179 | |
| 3180 | =for ref |
| 3181 | |
| 3182 | Complex version of L<PDL::LinearAlgebra::Real/trevc> |
| 3183 | |
| 3184 | =pod |
| 3185 | |
| 3186 | Broadcasts over its inputs. |
| 3187 | |
| 3188 | =for bad |
| 3189 | |
| 3190 | C<ctrevc> ignores the bad-value flag of the input ndarrays. |
| 3191 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3192 | |
| 3193 | =cut |
| 3194 | |
| 3195 | |
| 3196 | |
| 3197 | |
| 3198 | *ctrevc = \&PDL::ctrevc; |
| 3199 | |
| 3200 | |
| 3201 | |
| 3202 | |
| 3203 | |
| 3204 | |
| 3205 | =head2 ctgevc |
| 3206 | |
| 3207 | =for sig |
| 3208 | |
| 3209 | Signature: (complex A(n,n);complex B(n,n);int select(q);complex [o]VL(m,m);complex [o]VR(p,p);int [o]m(); int [o]info(); [t]work(workn=CALC(6*$SIZE(n))); int side; int howmny) |
| 3210 | Types: (float double) |
| 3211 | |
| 3212 | =for usage |
| 3213 | |
| 3214 | ($VL, $VR, $m, $info) = ctgevc($A, $side, $howmny, $B, $select); |
| 3215 | ctgevc($A, $side, $howmny, $B, $select, $VL, $VR, $m, $info); # all arguments given |
| 3216 | ($VL, $VR, $m, $info) = $A->ctgevc($side, $howmny, $B, $select); # method call |
| 3217 | $A->ctgevc($side, $howmny, $B, $select, $VL, $VR, $m, $info); |
| 3218 | |
| 3219 | =for ref |
| 3220 | |
| 3221 | Complex version of L<PDL::LinearAlgebra::Real/tgevc> |
| 3222 | |
| 3223 | =pod |
| 3224 | |
| 3225 | Broadcasts over its inputs. |
| 3226 | |
| 3227 | =for bad |
| 3228 | |
| 3229 | C<ctgevc> ignores the bad-value flag of the input ndarrays. |
| 3230 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3231 | |
| 3232 | =cut |
| 3233 | |
| 3234 | |
| 3235 | |
| 3236 | |
| 3237 | *ctgevc = \&PDL::ctgevc; |
| 3238 | |
| 3239 | |
| 3240 | |
| 3241 | |
| 3242 | |
| 3243 | |
| 3244 | =head2 cgebal |
| 3245 | |
| 3246 | =for sig |
| 3247 | |
| 3248 | Signature: (complex [io]A(n,n); int job(); int [o]ilo();int [o]ihi();[o]scale(n); int [o]info()) |
| 3249 | Types: (float double) |
| 3250 | |
| 3251 | =for usage |
| 3252 | |
| 3253 | ($ilo, $ihi, $scale, $info) = cgebal($A, $job); |
| 3254 | cgebal($A, $job, $ilo, $ihi, $scale, $info); # all arguments given |
| 3255 | ($ilo, $ihi, $scale, $info) = $A->cgebal($job); # method call |
| 3256 | $A->cgebal($job, $ilo, $ihi, $scale, $info); |
| 3257 | |
| 3258 | =for ref |
| 3259 | |
| 3260 | Complex version of L<PDL::LinearAlgebra::Real/gebal> |
| 3261 | |
| 3262 | =pod |
| 3263 | |
| 3264 | Broadcasts over its inputs. |
| 3265 | |
| 3266 | =for bad |
| 3267 | |
| 3268 | C<cgebal> ignores the bad-value flag of the input ndarrays. |
| 3269 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3270 | |
| 3271 | =cut |
| 3272 | |
| 3273 | |
| 3274 | |
| 3275 | |
| 3276 | *cgebal = \&PDL::cgebal; |
| 3277 | |
| 3278 | |
| 3279 | |
| 3280 | |
| 3281 | |
| 3282 | |
| 3283 | =head2 clange |
| 3284 | |
| 3285 | =for sig |
| 3286 | |
| 3287 | Signature: (complex A(n,m); [o]b(); [t]work(workn); int norm) |
| 3288 | Types: (float double) |
| 3289 | |
| 3290 | =for usage |
| 3291 | |
| 3292 | $b = clange($A, $norm); |
| 3293 | clange($A, $norm, $b); # all arguments given |
| 3294 | $b = $A->clange($norm); # method call |
| 3295 | $A->clange($norm, $b); |
| 3296 | |
| 3297 | =for ref |
| 3298 | |
| 3299 | Complex version of L<PDL::LinearAlgebra::Real/lange> |
| 3300 | |
| 3301 | =pod |
| 3302 | |
| 3303 | Broadcasts over its inputs. |
| 3304 | |
| 3305 | =for bad |
| 3306 | |
| 3307 | C<clange> ignores the bad-value flag of the input ndarrays. |
| 3308 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3309 | |
| 3310 | =cut |
| 3311 | |
| 3312 | |
| 3313 | |
| 3314 | |
| 3315 | *clange = \&PDL::clange; |
| 3316 | |
| 3317 | |
| 3318 | |
| 3319 | |
| 3320 | |
| 3321 | |
| 3322 | =head2 clansy |
| 3323 | |
| 3324 | =for sig |
| 3325 | |
| 3326 | Signature: (complex A(n,n); [o]b(); [t]work(workn); int uplo; int norm) |
| 3327 | Types: (float double) |
| 3328 | |
| 3329 | =for usage |
| 3330 | |
| 3331 | $b = clansy($A, $uplo, $norm); |
| 3332 | clansy($A, $uplo, $norm, $b); # all arguments given |
| 3333 | $b = $A->clansy($uplo, $norm); # method call |
| 3334 | $A->clansy($uplo, $norm, $b); |
| 3335 | |
| 3336 | =for ref |
| 3337 | |
| 3338 | Complex version of L<PDL::LinearAlgebra::Real/lansy> |
| 3339 | |
| 3340 | =pod |
| 3341 | |
| 3342 | Broadcasts over its inputs. |
| 3343 | |
| 3344 | =for bad |
| 3345 | |
| 3346 | C<clansy> ignores the bad-value flag of the input ndarrays. |
| 3347 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3348 | |
| 3349 | =cut |
| 3350 | |
| 3351 | |
| 3352 | |
| 3353 | |
| 3354 | *clansy = \&PDL::clansy; |
| 3355 | |
| 3356 | |
| 3357 | |
| 3358 | |
| 3359 | |
| 3360 | |
| 3361 | =head2 clantr |
| 3362 | |
| 3363 | =for sig |
| 3364 | |
| 3365 | Signature: (complex A(m,n); [o]b(); [t]work(workn); int uplo; int norm; int diag) |
| 3366 | Types: (float double) |
| 3367 | |
| 3368 | =for usage |
| 3369 | |
| 3370 | $b = clantr($A, $uplo, $norm, $diag); |
| 3371 | clantr($A, $uplo, $norm, $diag, $b); # all arguments given |
| 3372 | $b = $A->clantr($uplo, $norm, $diag); # method call |
| 3373 | $A->clantr($uplo, $norm, $diag, $b); |
| 3374 | |
| 3375 | =for ref |
| 3376 | |
| 3377 | Complex version of L<PDL::LinearAlgebra::Real/lantr> |
| 3378 | |
| 3379 | =pod |
| 3380 | |
| 3381 | Broadcasts over its inputs. |
| 3382 | |
| 3383 | =for bad |
| 3384 | |
| 3385 | C<clantr> ignores the bad-value flag of the input ndarrays. |
| 3386 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3387 | |
| 3388 | =cut |
| 3389 | |
| 3390 | |
| 3391 | |
| 3392 | |
| 3393 | *clantr = \&PDL::clantr; |
| 3394 | |
| 3395 | |
| 3396 | |
| 3397 | |
| 3398 | |
| 3399 | |
| 3400 | =head2 cgemm |
| 3401 | |
| 3402 | =for sig |
| 3403 | |
| 3404 | Signature: (complex A(m,n); int transa(); int transb();complex B(p,q);complex alpha();complex beta();complex [io]C(r,s)) |
| 3405 | Types: (float double) |
| 3406 | |
| 3407 | =for usage |
| 3408 | |
| 3409 | cgemm($A, $transa, $transb, $B, $alpha, $beta, $C); # all arguments given |
| 3410 | $A->cgemm($transa, $transb, $B, $alpha, $beta, $C); # method call |
| 3411 | |
| 3412 | =for ref |
| 3413 | |
| 3414 | Complex version of L<PDL::LinearAlgebra::Real/gemm>. |
| 3415 | |
| 3416 | Arguments |
| 3417 | ========= |
| 3418 | transa: = 0: No transpose; |
| 3419 | = 1: Transpose; |
| 3420 | = 2: Conjugate transpose; |
| 3421 | |
| 3422 | transb: = 0: No transpose; |
| 3423 | = 1: Transpose; |
| 3424 | = 2: Conjugate transpose; |
| 3425 | |
| 3426 | =pod |
| 3427 | |
| 3428 | Broadcasts over its inputs. |
| 3429 | |
| 3430 | =for bad |
| 3431 | |
| 3432 | C<cgemm> ignores the bad-value flag of the input ndarrays. |
| 3433 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3434 | |
| 3435 | =cut |
| 3436 | |
| 3437 | |
| 3438 | |
| 3439 | |
| 3440 | *cgemm = \&PDL::cgemm; |
| 3441 | |
| 3442 | |
| 3443 | |
| 3444 | |
| 3445 | |
| 3446 | |
| 3447 | =head2 cmmult |
| 3448 | |
| 3449 | =for sig |
| 3450 | |
| 3451 | Signature: (complex A(m,n);complex B(p,m);complex [o]C(p,n)) |
| 3452 | Types: (float double) |
| 3453 | |
| 3454 | =for usage |
| 3455 | |
| 3456 | $C = cmmult($A, $B); |
| 3457 | cmmult($A, $B, $C); # all arguments given |
| 3458 | $C = $A->cmmult($B); # method call |
| 3459 | $A->cmmult($B, $C); |
| 3460 | |
| 3461 | =for ref |
| 3462 | |
| 3463 | Complex version of L<PDL::LinearAlgebra::Real/mmult> |
| 3464 | |
| 3465 | =pod |
| 3466 | |
| 3467 | Broadcasts over its inputs. |
| 3468 | |
| 3469 | =for bad |
| 3470 | |
| 3471 | C<cmmult> ignores the bad-value flag of the input ndarrays. |
| 3472 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3473 | |
| 3474 | =cut |
| 3475 | |
| 3476 | |
| 3477 | |
| 3478 | |
| 3479 | *cmmult = \&PDL::cmmult; |
| 3480 | |
| 3481 | |
| 3482 | |
| 3483 | |
| 3484 | |
| 3485 | |
| 3486 | =head2 ccrossprod |
| 3487 | |
| 3488 | =for sig |
| 3489 | |
| 3490 | Signature: (complex A(n,m);complex B(p,m);complex [o]C(p,n)) |
| 3491 | Types: (float double) |
| 3492 | |
| 3493 | =for usage |
| 3494 | |
| 3495 | $C = ccrossprod($A, $B); |
| 3496 | ccrossprod($A, $B, $C); # all arguments given |
| 3497 | $C = $A->ccrossprod($B); # method call |
| 3498 | $A->ccrossprod($B, $C); |
| 3499 | |
| 3500 | =for ref |
| 3501 | |
| 3502 | Complex version of L<PDL::LinearAlgebra::Real/crossprod> |
| 3503 | |
| 3504 | =pod |
| 3505 | |
| 3506 | Broadcasts over its inputs. |
| 3507 | |
| 3508 | =for bad |
| 3509 | |
| 3510 | C<ccrossprod> ignores the bad-value flag of the input ndarrays. |
| 3511 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3512 | |
| 3513 | =cut |
| 3514 | |
| 3515 | |
| 3516 | |
| 3517 | |
| 3518 | *ccrossprod = \&PDL::ccrossprod; |
| 3519 | |
| 3520 | |
| 3521 | |
| 3522 | |
| 3523 | |
| 3524 | |
| 3525 | =head2 csyrk |
| 3526 | |
| 3527 | =for sig |
| 3528 | |
| 3529 | Signature: (complex A(m,n); int uplo(); int trans();complex alpha();complex beta();complex [io]C(p,p)) |
| 3530 | Types: (float double) |
| 3531 | |
| 3532 | =for usage |
| 3533 | |
| 3534 | csyrk($A, $uplo, $trans, $alpha, $beta, $C); # all arguments given |
| 3535 | $A->csyrk($uplo, $trans, $alpha, $beta, $C); # method call |
| 3536 | |
| 3537 | =for ref |
| 3538 | |
| 3539 | Complex version of L<PDL::LinearAlgebra::Real/syrk> |
| 3540 | |
| 3541 | =pod |
| 3542 | |
| 3543 | Broadcasts over its inputs. |
| 3544 | |
| 3545 | =for bad |
| 3546 | |
| 3547 | C<csyrk> ignores the bad-value flag of the input ndarrays. |
| 3548 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3549 | |
| 3550 | =cut |
| 3551 | |
| 3552 | |
| 3553 | |
| 3554 | |
| 3555 | *csyrk = \&PDL::csyrk; |
| 3556 | |
| 3557 | |
| 3558 | |
| 3559 | |
| 3560 | |
| 3561 | |
| 3562 | =head2 cdot |
| 3563 | |
| 3564 | =for sig |
| 3565 | |
| 3566 | Signature: (complex a(n);complex b(n);complex [o]c()) |
| 3567 | Types: (float double) |
| 3568 | |
| 3569 | =for usage |
| 3570 | |
| 3571 | $c = cdot($a, $b); |
| 3572 | cdot($a, $b, $c); # all arguments given |
| 3573 | $c = $a->cdot($b); # method call |
| 3574 | $a->cdot($b, $c); |
| 3575 | |
| 3576 | =for ref |
| 3577 | |
| 3578 | Complex version of L<PDL::LinearAlgebra::Real/dot> |
| 3579 | |
| 3580 | =pod |
| 3581 | |
| 3582 | Broadcasts over its inputs. |
| 3583 | |
| 3584 | =for bad |
| 3585 | |
| 3586 | C<cdot> ignores the bad-value flag of the input ndarrays. |
| 3587 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3588 | |
| 3589 | =cut |
| 3590 | |
| 3591 | |
| 3592 | |
| 3593 | |
| 3594 | *cdot = \&PDL::cdot; |
| 3595 | |
| 3596 | |
| 3597 | |
| 3598 | |
| 3599 | |
| 3600 | |
| 3601 | =head2 cdotc |
| 3602 | |
| 3603 | =for sig |
| 3604 | |
| 3605 | Signature: (complex a(n);complex b(n);complex [o]c()) |
| 3606 | Types: (float double) |
| 3607 | |
| 3608 | =for usage |
| 3609 | |
| 3610 | $c = cdotc($a, $b); |
| 3611 | cdotc($a, $b, $c); # all arguments given |
| 3612 | $c = $a->cdotc($b); # method call |
| 3613 | $a->cdotc($b, $c); |
| 3614 | |
| 3615 | =for ref |
| 3616 | |
| 3617 | Forms the dot product of two vectors, conjugating the first |
| 3618 | vector. |
| 3619 | |
| 3620 | =pod |
| 3621 | |
| 3622 | Broadcasts over its inputs. |
| 3623 | |
| 3624 | =for bad |
| 3625 | |
| 3626 | C<cdotc> ignores the bad-value flag of the input ndarrays. |
| 3627 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3628 | |
| 3629 | =cut |
| 3630 | |
| 3631 | |
| 3632 | |
| 3633 | |
| 3634 | *cdotc = \&PDL::cdotc; |
| 3635 | |
| 3636 | |
| 3637 | |
| 3638 | |
| 3639 | |
| 3640 | |
| 3641 | =head2 caxpy |
| 3642 | |
| 3643 | =for sig |
| 3644 | |
| 3645 | Signature: (complex a(n);complex alpha();complex [io]b(n)) |
| 3646 | Types: (float double) |
| 3647 | |
| 3648 | =for usage |
| 3649 | |
| 3650 | caxpy($a, $alpha, $b); # all arguments given |
| 3651 | $a->caxpy($alpha, $b); # method call |
| 3652 | |
| 3653 | =for ref |
| 3654 | |
| 3655 | Complex version of L<PDL::LinearAlgebra::Real/axpy> |
| 3656 | |
| 3657 | =pod |
| 3658 | |
| 3659 | Broadcasts over its inputs. |
| 3660 | |
| 3661 | =for bad |
| 3662 | |
| 3663 | C<caxpy> ignores the bad-value flag of the input ndarrays. |
| 3664 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3665 | |
| 3666 | =cut |
| 3667 | |
| 3668 | |
| 3669 | |
| 3670 | |
| 3671 | *caxpy = \&PDL::caxpy; |
| 3672 | |
| 3673 | |
| 3674 | |
| 3675 | |
| 3676 | |
| 3677 | |
| 3678 | =head2 cnrm2 |
| 3679 | |
| 3680 | =for sig |
| 3681 | |
| 3682 | Signature: (complex a(n);[o]b()) |
| 3683 | Types: (float double) |
| 3684 | |
| 3685 | =for usage |
| 3686 | |
| 3687 | $b = cnrm2($a); |
| 3688 | cnrm2($a, $b); # all arguments given |
| 3689 | $b = $a->cnrm2; # method call |
| 3690 | $a->cnrm2($b); |
| 3691 | |
| 3692 | =for ref |
| 3693 | |
| 3694 | Complex version of L<PDL::LinearAlgebra::Real/nrm2> |
| 3695 | |
| 3696 | =pod |
| 3697 | |
| 3698 | Broadcasts over its inputs. |
| 3699 | |
| 3700 | =for bad |
| 3701 | |
| 3702 | C<cnrm2> ignores the bad-value flag of the input ndarrays. |
| 3703 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3704 | |
| 3705 | =cut |
| 3706 | |
| 3707 | |
| 3708 | |
| 3709 | |
| 3710 | *cnrm2 = \&PDL::cnrm2; |
| 3711 | |
| 3712 | |
| 3713 | |
| 3714 | |
| 3715 | |
| 3716 | |
| 3717 | =head2 casum |
| 3718 | |
| 3719 | =for sig |
| 3720 | |
| 3721 | Signature: (complex a(n);[o]b()) |
| 3722 | Types: (float double) |
| 3723 | |
| 3724 | =for usage |
| 3725 | |
| 3726 | $b = casum($a); |
| 3727 | casum($a, $b); # all arguments given |
| 3728 | $b = $a->casum; # method call |
| 3729 | $a->casum($b); |
| 3730 | |
| 3731 | =for ref |
| 3732 | |
| 3733 | Complex version of L<PDL::LinearAlgebra::Real/asum> |
| 3734 | |
| 3735 | =pod |
| 3736 | |
| 3737 | Broadcasts over its inputs. |
| 3738 | |
| 3739 | =for bad |
| 3740 | |
| 3741 | C<casum> ignores the bad-value flag of the input ndarrays. |
| 3742 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3743 | |
| 3744 | =cut |
| 3745 | |
| 3746 | |
| 3747 | |
| 3748 | |
| 3749 | *casum = \&PDL::casum; |
| 3750 | |
| 3751 | |
| 3752 | |
| 3753 | |
| 3754 | |
| 3755 | |
| 3756 | =head2 cscal |
| 3757 | |
| 3758 | =for sig |
| 3759 | |
| 3760 | Signature: (complex [io]a(n);complex scale()) |
| 3761 | Types: (float double) |
| 3762 | |
| 3763 | =for usage |
| 3764 | |
| 3765 | cscal($a, $scale); # all arguments given |
| 3766 | $a->cscal($scale); # method call |
| 3767 | |
| 3768 | =for ref |
| 3769 | |
| 3770 | Complex version of L<PDL::LinearAlgebra::Real/scal> |
| 3771 | |
| 3772 | =pod |
| 3773 | |
| 3774 | Broadcasts over its inputs. |
| 3775 | |
| 3776 | =for bad |
| 3777 | |
| 3778 | C<cscal> ignores the bad-value flag of the input ndarrays. |
| 3779 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3780 | |
| 3781 | =cut |
| 3782 | |
| 3783 | |
| 3784 | |
| 3785 | |
| 3786 | *cscal = \&PDL::cscal; |
| 3787 | |
| 3788 | |
| 3789 | |
| 3790 | |
| 3791 | |
| 3792 | |
| 3793 | =head2 csscal |
| 3794 | |
| 3795 | =for sig |
| 3796 | |
| 3797 | Signature: (complex [io]a(n);scale()) |
| 3798 | Types: (float double) |
| 3799 | |
| 3800 | =for usage |
| 3801 | |
| 3802 | csscal($a, $scale); # all arguments given |
| 3803 | $a->csscal($scale); # method call |
| 3804 | |
| 3805 | =for ref |
| 3806 | |
| 3807 | Scales a complex vector by a real constant. |
| 3808 | |
| 3809 | =pod |
| 3810 | |
| 3811 | Broadcasts over its inputs. |
| 3812 | |
| 3813 | =for bad |
| 3814 | |
| 3815 | C<csscal> ignores the bad-value flag of the input ndarrays. |
| 3816 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3817 | |
| 3818 | =cut |
| 3819 | |
| 3820 | |
| 3821 | |
| 3822 | |
| 3823 | *csscal = \&PDL::csscal; |
| 3824 | |
| 3825 | |
| 3826 | |
| 3827 | |
| 3828 | |
| 3829 | |
| 3830 | =head2 crotg |
| 3831 | |
| 3832 | =for sig |
| 3833 | |
| 3834 | Signature: (complex [io]a();complex b();[o]c();complex [o]s()) |
| 3835 | Types: (float double) |
| 3836 | |
| 3837 | =for usage |
| 3838 | |
| 3839 | ($c, $s) = crotg($a, $b); |
| 3840 | crotg($a, $b, $c, $s); # all arguments given |
| 3841 | ($c, $s) = $a->crotg($b); # method call |
| 3842 | $a->crotg($b, $c, $s); |
| 3843 | |
| 3844 | =for ref |
| 3845 | |
| 3846 | Complex version of L<PDL::LinearAlgebra::Real/rotg> |
| 3847 | |
| 3848 | =pod |
| 3849 | |
| 3850 | Broadcasts over its inputs. |
| 3851 | |
| 3852 | =for bad |
| 3853 | |
| 3854 | C<crotg> ignores the bad-value flag of the input ndarrays. |
| 3855 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3856 | |
| 3857 | =cut |
| 3858 | |
| 3859 | |
| 3860 | |
| 3861 | |
| 3862 | *crotg = \&PDL::crotg; |
| 3863 | |
| 3864 | |
| 3865 | |
| 3866 | |
| 3867 | |
| 3868 | |
| 3869 | =head2 clacpy |
| 3870 | |
| 3871 | =for sig |
| 3872 | |
| 3873 | Signature: (complex A(m,n); int uplo();complex [o]B(p,n)) |
| 3874 | Types: (float double) |
| 3875 | |
| 3876 | =for usage |
| 3877 | |
| 3878 | $B = clacpy($A, $uplo); |
| 3879 | clacpy($A, $uplo, $B); # all arguments given |
| 3880 | $B = $A->clacpy($uplo); # method call |
| 3881 | $A->clacpy($uplo, $B); |
| 3882 | |
| 3883 | =for ref |
| 3884 | |
| 3885 | Complex version of L<PDL::LinearAlgebra::Real/lacpy> |
| 3886 | |
| 3887 | =pod |
| 3888 | |
| 3889 | Broadcasts over its inputs. |
| 3890 | |
| 3891 | =for bad |
| 3892 | |
| 3893 | C<clacpy> ignores the bad-value flag of the input ndarrays. |
| 3894 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3895 | |
| 3896 | =cut |
| 3897 | |
| 3898 | |
| 3899 | |
| 3900 | |
| 3901 | *clacpy = \&PDL::clacpy; |
| 3902 | |
| 3903 | |
| 3904 | |
| 3905 | |
| 3906 | |
| 3907 | |
| 3908 | =head2 claswp |
| 3909 | |
| 3910 | =for sig |
| 3911 | |
| 3912 | Signature: (complex [io]A(m,n); int k1(); int k2(); int ipiv(p)) |
| 3913 | Types: (float double) |
| 3914 | |
| 3915 | =for usage |
| 3916 | |
| 3917 | claswp($A, $k1, $k2, $ipiv); # all arguments given |
| 3918 | $A->claswp($k1, $k2, $ipiv); # method call |
| 3919 | |
| 3920 | =for ref |
| 3921 | |
| 3922 | Complex version of L<PDL::LinearAlgebra::Real/laswp> |
| 3923 | |
| 3924 | =pod |
| 3925 | |
| 3926 | Broadcasts over its inputs. |
| 3927 | |
| 3928 | =for bad |
| 3929 | |
| 3930 | C<claswp> ignores the bad-value flag of the input ndarrays. |
| 3931 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3932 | |
| 3933 | =cut |
| 3934 | |
| 3935 | |
| 3936 | |
| 3937 | |
| 3938 | *claswp = \&PDL::claswp; |
| 3939 | |
| 3940 | |
| 3941 | |
| 3942 | |
| 3943 | |
| 3944 | |
| 3945 | =head2 ccharpol |
| 3946 | |
| 3947 | =for sig |
| 3948 | |
| 3949 | Signature: (A(c=2,n,n);[o]Y(c=2,n,n);[o]out(c=2,p=CALC($SIZE(n)+1)); [t]rwork(rworkn=CALC(2*$SIZE(n)*$SIZE(n)))) |
| 3950 | Types: (float double) |
| 3951 | |
| 3952 | =for usage |
| 3953 | |
| 3954 | ($Y, $out) = ccharpol($A); |
| 3955 | ccharpol($A, $Y, $out); # all arguments given |
| 3956 | ($Y, $out) = $A->ccharpol; # method call |
| 3957 | $A->ccharpol($Y, $out); |
| 3958 | |
| 3959 | =for ref |
| 3960 | |
| 3961 | Complex version of L<PDL::LinearAlgebra::Real/charpol> |
| 3962 | |
| 3963 | =pod |
| 3964 | |
| 3965 | Broadcasts over its inputs. |
| 3966 | |
| 3967 | =for bad |
| 3968 | |
| 3969 | C<ccharpol> does not process bad values. |
| 3970 | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. |
| 3971 | |
| 3972 | =cut |
| 3973 | |
| 3974 | |
| 3975 | |
| 3976 | |
| 3977 | *ccharpol = \&PDL::ccharpol; |
| 3978 | |
| 3979 | |
| 3980 | |
| 3981 | |
| 3982 | |
| 3983 | |
| 3984 | |
| 3985 | #line 4956 "lib/PDL/LinearAlgebra/Complex.pd" |
| 3986 | |
| 3987 | =head1 AUTHOR |
| 3988 | |
| 3989 | Copyright (C) Grégory Vanuxem 2005-2018. |
| 3990 | |
| 3991 | This library is free software; you can redistribute it and/or modify |
| 3992 | it under the terms of the Perl Artistic License as in the file Artistic_2 |
| 3993 | in this distribution. |
| 3994 | |
| 3995 | =cut |
| 3996 | #line 3997 "lib/PDL/LinearAlgebra/Complex.pm" |
| 3997 | |
| 3998 | # Exit with OK status |
| 3999 | |
| 4000 | 1; |