The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
BETA version no longer allows exponentiation of litsts
06-15-2021, 05:51 PM
Post: #1
BETA version no longer allows exponentiation of litsts
It appears that exponentiation and logarithm functions no longer handle lists in the current BETA versions.

For example, being able to exponentiate lists is useful when generating a set of probabilities in a canonical probability distribution in statistical mechanics. There the probability of the occupancy of an energy state, E(i), is p(i) = e^(-E(i)/kT)/Z, where Z is the sum over all e^(-E(i)/kT).
Of course, there is a workaround using MAKELIST; but retaining the ability of functions to handle lists helps retain the readability of a program when it handles lists of data.

I tried to insert some images but my internet went down briefly while I was writing this post.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
BETA version no longer allows exponentiation of litsts - Mike Elzinga - 06-15-2021 05:51 PM



User(s) browsing this thread: 1 Guest(s)