1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
31 * Interface with analysis functions.
33 interface XAnalysis
: com
::sun
::star
::uno
::XInterface
37 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
38 [in] long nStartDate
, [in] long nDays
, [in] any aHolidays
)
39 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
43 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
44 [in] long StartDate
, [in] long EndDate
, [in] any Mode
)
45 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
49 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
50 [in] long nStartDate
, [in] long nNumOfMonths
)
51 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
55 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
56 [in] long nStartDate
, [in] long nMode
)
57 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
61 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
62 [in] long nStartDate
, [in] long nMonths
)
63 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
67 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
68 [in] long StartDate
, [in] long EndDate
, [in] any Holidays
)
69 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
72 long getIseven
( [in] long nValue
)
73 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
76 long getIsodd
( [in] long nValue
)
77 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
80 double getMultinomial
(
81 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
82 [in] sequence
< sequence
< long > > aValList
,
83 [in] sequence
< any
> aOptVLst
)
84 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
88 [in] double X
, [in] double N
, [in] double M
,
89 [in] sequence
< sequence
< double > > CoeffList
)
90 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
93 double getQuotient
( [in] double Num
, [in] double Denum
)
94 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
97 double getMround
( [in] double Number
, [in] double Multiple
)
98 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
101 double getSqrtpi
( [in] double Number
)
102 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
105 // Min is the smallest value randbetween will return
106 // Max is the largest value randbetween will return
107 double getRandbetween
( [in] double Min
, [in] double Max
)
108 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
112 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
113 [in] sequence
< sequence
< double > > FirstValList
,
114 [in] sequence
< any
> OptionalValList
)
115 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
119 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
120 [in] sequence
< sequence
< double > > FirstValList
,
121 [in] sequence
< any
> OptionalValList
)
122 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
125 double getBesseli
( [in] double Num
, [in] long Order
)
126 raises
( com
::sun
::star
::lang
::IllegalArgumentException
,
127 com
::sun
::star
::sheet
::NoConvergenceException
);
130 double getBesselj
( [in] double Num
, [in] long Order
)
131 raises
( com
::sun
::star
::lang
::IllegalArgumentException
,
132 com
::sun
::star
::sheet
::NoConvergenceException
);
135 double getBesselk
( [in] double Num
, [in] long Order
)
136 raises
( com
::sun
::star
::lang
::IllegalArgumentException
,
137 com
::sun
::star
::sheet
::NoConvergenceException
);
140 double getBessely
( [in] double Num
, [in] long Order
)
141 raises
( com
::sun
::star
::lang
::IllegalArgumentException
,
142 com
::sun
::star
::sheet
::NoConvergenceException
);
146 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
147 [in] string BinaryNum
, [in] any Places
)
148 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
151 double getBin2Dec
( [in] string BinaryNum
)
152 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
156 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
157 [in] string BinaryNum
, [in] any Places
)
158 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
162 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
163 [in] string OctalNum
, [in] any Places
)
164 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
167 double getOct2Dec
( [in] string OctalNum
)
168 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
172 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
173 [in] string OctalNum
, [in] any Places
)
174 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
178 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
179 [in] long Value
, [in] any Places
)
180 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
184 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
185 [in] long Value
, [in] any Places
)
186 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
190 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
191 [in] double Value
, [in] any Places
)
192 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
196 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
197 [in] string HexadecimalValue
, [in] any Places
)
198 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
201 double getHex2Dec
( [in] string HexadecimalValue
)
202 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
206 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
207 [in] string HexadecimalValue
, [in] any Places
)
208 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
212 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
213 [in] double Num1
, [in] any Num2
)
214 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
218 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
219 [in] double LowerLimit
, [in] any UpperLimit
)
220 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
223 double getErfc
( [in] double LowerLimit
)
224 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
228 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
229 [in] double Num
, [in] any Step
)
230 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
233 double getFactdouble
( [in] long Num
)
234 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
237 double getImabs
( [in] string Num
)
238 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
241 double getImaginary
( [in] string Num
)
242 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
245 string getImpower
( [in] string Num
, [in] double Power
)
246 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
249 double getImargument
( [in] string Num
)
250 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
253 string getImcos
( [in] string Num
)
254 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
257 string getImdiv
( [in] string Num1
, [in] string Num2
)
258 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
261 string getImexp
( [in] string Num
)
262 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
265 string getImconjugate
( [in] string Num
)
266 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
269 string getImln
( [in] string Num
)
270 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
273 string getImlog10
( [in] string Num
)
274 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
277 string getImlog2
( [in] string Num
)
278 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
282 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
283 [in] sequence
< sequence
< string > > Num1
,
284 [in] sequence
< any
> NumberList
)
285 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
288 double getImreal
( [in] string Num
)
289 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
292 string getImsin
( [in] string Num
)
293 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
296 string getImsub
( [in] string Num1
, [in] string Num2
)
297 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
301 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
302 [in] sequence
< sequence
< string > > Num1
,
303 [in] sequence
< any
> OptNums
)
304 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
307 string getImsqrt
( [in] string Num
)
308 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
311 string getImtan
( [in] string Num
)
312 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
315 string getImsec
( [in] string Num
)
316 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
319 string getImcsc
( [in] string Num
)
320 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
323 string getImcot
( [in] string Num
)
324 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
327 string getImsinh
( [in] string Num
)
328 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
331 string getImcosh
( [in] string Num
)
332 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
335 string getImsech
( [in] string Num
)
336 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
339 string getImcsch
( [in] string Num
)
340 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
343 string getComplex
( [in] double Real
, [in] double Imaginary
, [in] any Suffix
)
344 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
347 double getConvert
( [in] double Value
, [in] string FromUnit
, [in] string ToUnit
)
348 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
353 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
354 [in] double Cost
, [in] long Date
, [in] long FirstPer
, [in] double RestVal
,
355 [in] double Periode
, [in] double Rate
, [in] any Base
)
356 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
360 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
361 [in] double Cost
, [in] long Date
, [in] long FirstPer
, [in] double RestVal
,
362 [in] double Periode
, [in] double Rate
, [in] any Base
)
363 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
367 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
368 [in] long Issue
, [in] long FirstInterest
, [in] long Settlement
, [in] double Rate
,
369 [in] any Value
, [in] long Frequency
, [in] any Base
)
370 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
374 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
375 [in] long Issue
, [in] long Settlement
, [in] double Rate
, [in] any Value
, [in] any Base
)
376 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
380 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
381 [in] long Settlement
, [in] long Maturity
, [in] double Investment
, [in] double Discount
,
383 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
387 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
388 [in] long Settlement
, [in] long Maturity
, [in] double Price
, [in] double Redemption
,
390 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
394 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
395 [in] long Settlement
, [in] long Maturity
, [in] double Coupon
, [in] double Yield
,
396 [in] long Frequency
, [in] any Base
)
397 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
400 double getEffect
( [in] double Nomial
, [in] long NumOfPeriods
)
401 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
405 [in] double Rate
, [in] long NumOfPeriods
, [in] double Val
, [in] long StartPeriode
,
406 [in] long EndPeriode
, [in] long PayType
)
407 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
411 [in] double Rate
, [in] long NumOfPeriods
, [in] double Val
, [in] long StartPeriode
,
412 [in] long EndPeriode
, [in] long PayType
)
413 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
417 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
418 [in] long Settlement
, [in] long Maturity
, [in] double Rate
, [in] double Yield
,
419 [in] double Redemption
, [in] long Frequency
, [in] any Base
)
420 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
424 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
425 [in] long Settlement
, [in] long Maturity
, [in] double Discont
, [in] double Redemption
,
427 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
431 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
432 [in] long Settlement
, [in] long Maturity
, [in] long Issue
, [in] double Rate
, [in] double Yield
,
434 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
438 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
439 [in] long Settlement
, [in] long Maturity
, [in] double Coupon
, [in] double Yield
,
440 [in] long Frequency
, [in] any Base
)
441 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
444 double getNominal
( [in] double Rate
, [in] long NumOfPeriods
)
445 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
448 double getDollarfr
( [in] double DollarDecimal
, [in] long Fraction
)
449 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
452 double getDollarde
( [in] double DollarFractional
, [in] long Fraction
)
453 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
457 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
458 [in] long Settlement
, [in] long Maturity
, [in] double Coupon
, [in] double Price
,
459 [in] double Redemption
, [in] long Frequency
, [in] any Base
)
460 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
464 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
465 [in] long Settlement
, [in] long Maturity
, [in] double Price
,
466 [in] double Redemption
, [in] any Base
)
467 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
471 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
472 [in] long Settlement
, [in] long Maturity
, [in] long Issue
, [in] double Rate
,
473 [in] double Price
, [in] any Base
)
474 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
478 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
479 [in] long Settlement
, [in] long Maturity
, [in] double Discont
)
480 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
483 double getTbillprice
(
484 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
485 [in] long Settlement
, [in] long Maturity
, [in] double Discont
)
486 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
489 double getTbillyield
(
490 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
491 [in] long Settlement
, [in] long Maturity
, [in] double Price
)
492 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
496 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
497 [in] long Settlement
, [in] long Maturity
, [in] long Issue
, [in] long FirstCouponDate
,
498 [in] double Rate
, [in] double Yield
, [in] double Redemption
,
499 [in] long Frequency
, [in] any Base
)
500 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
504 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
505 [in] long Settlement
, [in] long Maturity
, [in] long Issue
, [in] long FirstCouponDate
,
506 [in] double Rate
, [in] double Price
, [in] double Redemption
,
507 [in] long Frequency
, [in] any Base
)
508 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
512 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
513 [in] long Settlement
, [in] long Maturity
, [in] long LastInterest
,
514 [in] double Rate
, [in] double Yield
, [in] double Redemption
,
515 [in] long Frequency
, [in] any Base
)
516 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
520 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
521 [in] long Settlement
, [in] long Maturity
, [in] long LastInterest
,
522 [in] double Rate
, [in] double Price
, [in] double Redemption
,
523 [in] long Frequency
, [in] any Base
)
524 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
528 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
529 [in] sequence
< sequence
< double > > Values
,
530 [in] sequence
< sequence
< long > > Dates
, [in] any Guess
)
531 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
536 [in] sequence
< sequence
< double > > Values
,
537 [in] sequence
< sequence
< long > > Dates
)
538 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
542 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
543 [in] long Settlement
, [in] long Maturity
,
544 [in] double Investment
, [in] double Redemption
, [in] any Base
)
545 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
549 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
550 [in] long Settlement
, [in] long Maturity
,
551 [in] long Frequency
, [in] any Base
)
552 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
556 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
557 [in] long Settlement
, [in] long Maturity
,
558 [in] long Frequency
, [in] any Base
)
559 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
563 double getCoupdaysnc
(
564 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
565 [in] long Settlement
, [in] long Maturity
,
566 [in] long Frequency
, [in] any Base
)
567 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
571 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
572 [in] long Settlement
, [in] long Maturity
,
573 [in] long Frequency
, [in] any Base
)
574 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
578 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
579 [in] long Settlement
, [in] long Maturity
,
580 [in] long Frequency
, [in] any Base
)
581 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
585 [in] com
::sun
::star
::beans
::XPropertySet xOptions
,
586 [in] long Settlement
, [in] long Maturity
,
587 [in] long Frequency
, [in] any Base
)
588 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
591 double getFvschedule
( [in] double Principal
, [in] sequence
< sequence
< double > > Schedule
)
592 raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
600 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */