Methods¶
List the methods and see what each one needs. These calls run nothing.
list_methods
¶
Return the names of the methods.
| PARAMETER | DESCRIPTION |
|---|---|
gpu_only
|
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list of str
|
Method names, R methods first. |
Examples:
get_method
¶
Return one method's settings.
| PARAMETER | DESCRIPTION |
|---|---|
name
|
Method name, case-insensitive. Aliases such as
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Method
|
Its language, environment, GPU support, use of |
| RAISES | DESCRIPTION |
|---|---|
ValueError
|
Unknown method name. |
Examples:
Method
dataclass
¶
One method: its script, its environment and how it is called.
Get one with get_method. You do not create them yourself.
| ATTRIBUTE | DESCRIPTION |
|---|---|
name |
Canonical name, e.g.
TYPE:
|
language |
TYPE:
|
env |
Environment key:
TYPE:
|
script |
The method's script in
TYPE:
|
argv |
TYPE:
|
gpu |
TYPE:
|
uses_kmax |
TYPE:
|
big_stack |
TYPE:
|
kmax_limit |
Largest
TYPE:
|
reference |
The method's documentation or repository.
TYPE:
|
aliases |
Other accepted names, e.g.
TYPE:
|
Examples:
All methods¶
kdb.METHODS is a dict from each method's name to its Method record, in the order of
kdb.list_methods().