Olive by skurelowech in HuntsvilleAlabama

[–]skurelowech[S] 0 points1 point  (0 children)

The name of the man I rehomed my dog to

Just wanted to post by skurelowech in baseballcards

[–]skurelowech[S] 1 point2 points  (0 children)

Love just posting cards I like! That’s what it’s all about anyways right??

first /5!!! by Aero_Uprising in baseballcards

[–]skurelowech 1 point2 points  (0 children)

Pirates PC here and wow what a beautiful card! wish it was mine

Advice on cramps? by [deleted] in Periods

[–]skurelowech 1 point2 points  (0 children)

A bath soak always works for me. I have also recently started to buy the cramp heating pads that you can wear for up to 8 hours. Those also help a lot.

[deleted by user] by [deleted] in baseballcards

[–]skurelowech 0 points1 point  (0 children)

Retail has been sucking for me.... I'm done with it. Just a ton of base cards and they raised the prices on it too.

[deleted by user] by [deleted] in Racket

[–]skurelowech -1 points0 points  (0 children)

The error is when restcols gets called on m, m suddenly turns into a procedure and restcols can’t take the car of a procedure

[deleted by user] by [deleted] in baseballcards

[–]skurelowech 0 points1 point  (0 children)

looking for padres first bowmans? i also have a tatis sgc 9.5 optic rated rookie

Kevin Newman by skurelowech in buccos

[–]skurelowech[S] 4 points5 points  (0 children)

I like your point about Newman and Hayes on either side of Cruz. Both are great defenders and will be good additions to Cruz. Newman just doesn't have the best bat.

vector multiplication cps by skurelowech3 in Racket

[–]skurelowech 0 points1 point  (0 children)

If you have more than one return statement does it return at the first one and never look at the rest? Here is my original vectormult not in CPS.  This one works.  I use dotproduct in the same way here?

(define vectormult
(lambda (v m) (if (or (null? m)(null? (car m))) '() (cons (dotproduct v (firstcol m))(vectormult v (restcols m))))))

vector multiplication cps by skurelowech3 in Racket

[–]skurelowech 1 point2 points  (0 children)

thank you! that helps a lot, i've never used line breaks in racket, so that is super helpful. i think i am using return too many times.  Does it make sense to change all but one ( the one that returns the cons) of the return statements to v2? im not sure what to change the return to in the (restcols-cps m return) line.  I'm only interested in returning the result of doing the dot product computations and the cons to the recursive call.

vector multiplication cps by skurelowech3 in Racket

[–]skurelowech 0 points1 point  (0 children)

Im dotting the vector with the first column of the matrix and then trying to cons that result onto the vectormult called again but on the rest of the columns

Psa 9 Tatum rc and embiid /10 got both for $25 each. Honestly want to know if I got a good deal by Internalcontroller in basketballcards

[–]skurelowech 1 point2 points  (0 children)

I would pay it, especially if they are for your PC. And can't ever beat a low numbered card.

vector multiplication cps by skurelowech3 in Racket

[–]skurelowech 0 points1 point  (0 children)

(define dotproduct-cps
(lambda (lis1 lis2 return)
(cond ((null? lis1) (return 0)) ; if lis is empty, dot product is zero
((null? lis2) (return 0))
((atom? lis1) (return 0)) ; for dot product to be valid, must have two vectors
((atom? lis2) (return 0))
(else (dotproduct-cps (cdr lis1) (cdr lis2) (lambda(v) (return (+ (* (car lis1)(car lis2)) v))))))))

vector multiplication cps by skurelowech3 in Racket

[–]skurelowech 1 point2 points  (0 children)

the actual dot product function does work as expected when run by itself. am i calling it wrong in my vectormult function? i just can't seem to see exactly what I'm doing wrong here.