Mathematica

Pick is a widely used function in Mathematica. A minor enhancement was made to this function in the recent release; it can now work directly with BitVector datastructure. In this article, let us go over these two with some examples. Let us start with Pick first. It allows us to select from a list of elements […]

“Cyclic” is a new function introduced in the recent Wolfram Mathematica 14.3 release. It represents a repeating sequence, something that we encounter often. For example, how do we represent the sequence {1,2,3,4,1,2,3,4,1,2,3,4…}? “Cyclic” captures this idea. In other words “Cyclic[{1,2,3,4}]” denotes the same repeating sequence as above. Other examples: weekdays = Cyclic[{“Mon”, “Tue”, “Wed”, “Thu”, […]

In the previous article, I had explained how to get started using Wolfram Mathematica’s stock analysis features. The focus was on working with the exchanges supported by Mathematica, for example BSE India. What if we have stock data from a different source and want to analyze it in Mathematica? In my case, I use TradingView platform […]

I have my own toolkit for analyzing stocks, but occasionally I use Mathematica as well. Given Mathematica’s extensive support for numerical computation including Machine Learning, it can be a valuable resource for deep analysis of the stock market. In today’s article, let me give an overview of some of the features that are helpful for […]

Let us continue our discussion on using Mathematica to interact with OpenAI (you may want to go through the earlier article as well). The simplest function to interact with the LLM is LLMSynthesize[]. As you might have guessed, this is a “sync” (non-streaming) call. What if you expect a long response and you don’t want […]

In an earlier article, I explained how to use OpenAI from Wolfram Mathematica ver 14.1. This latest release of Wolfram supports Semantic Search as well. In today’s article, let me discuss this feature. As in the case of using LLMs, using Semantic Search requires an account with one of the supported vendors. I will continue […]

I had written an earlier article showing how to use OpenAI models from Mathematica ver 14.0. Wolfram Mathematica ver 14.1 was released recently, with several improvements in the area of LLMs. Of course, there are many other core additions as well, but our focus is on LLMs in this article. This version supports many vendors other […]

Mathematica was among the first to integrate with OpenAI. The functionality is nicely exposed in terms of a few pre-defined functions. Let us explore some of the functionality in today’s article. The simplest way to get started is to use LLMSynthesize function: It can take a few seconds before you get the answer. If this is […]

We all know that ChatGPT has taken the world by storm. True, it is a major advance of Artificial Intelligence in the area of Natural Language Processing. Many may not know that WolframAlpha, launched in 2009, allowed natural language queries. As a long time user of Wolfram Mathematica, I was pleasantly surprised when the product […]

In an earlier article, I had shown how it is possible to interact with Mathematica from Julia. In today’s article, I will share the details of how to interact with Julia from within Mathematica. Why would somebody want to execute Julia code inside Mathematica? Although Mathematica is a great symbolic computing environment offering thousands of […]
Recent Comments