newbie's question

Jenny jennybabee111 at yahoo.com.au
Thu May 13 09:19:13 UTC 2004


Hi,

I wrote a method as follows.

initialize: xAxis values: yAxis
"construct a polygonal membership function"

(xAxis size = yAxis size)
ifFalse: [^self error:'The two vectors must in the same size.']
ifTrue: [x_xAxis.
y_yAxis.].

When I execute this method by the commands, It tell me "MfLinear
class(Object)>>doesNotUnderstand: #initialize:values:"

v1_#(1 3 5 5 9)
v2_#(0 1 1 0 1)
mm_MfLinear
mm initialize: v1 values: v2

Does anyone know what is wrong with my code? Thanks.

Jenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040513/5cef12fb/attachment.htm


More information about the Squeak-dev mailing list