cancel
Showing results for 
Search instead for 
Did you mean: 

I don't understand why this isn't being calculated

jn001
New Contributor II

err.png

 . 

1 ACCEPTED SOLUTION

eimear-dalzell
New Contributor

This is just because the functions you are trying to use aren't defined as default in kdb.
https://code.kx.com/q/ref/ is a good reference to the predefined keywords that are available to use.
If you want to use functions that you have defined previously the best option would probably be to save these in a .q file which can then be loaded into your new q session. See https://code.kx.com/q/learn/tour/scripts/ for some info on q scripts 

View solution in original post

2 REPLIES 2

jn001
New Contributor II

It does the basic arithmetic ok but doesn't compute the probability functions. Do I need to add a library?

eimear-dalzell
New Contributor

This is just because the functions you are trying to use aren't defined as default in kdb.
https://code.kx.com/q/ref/ is a good reference to the predefined keywords that are available to use.
If you want to use functions that you have defined previously the best option would probably be to save these in a .q file which can then be loaded into your new q session. See https://code.kx.com/q/learn/tour/scripts/ for some info on q scripts