Calculating the determinant of a 3 x 3 matrix is relatively trivial; the Laplace expansion is the method used here.

The least squares method can be used to fit a polynomial to a set of data points.

The Power Rule in Calculus is used when finding derivatives, and can be simplified to the following steps: Multiply the term by the exponent (power) Subtract 1 from the exponent The result of taking the derivative of `f(x)` is often writte...

I will be delivering a presentation on quantum computing at the ALT.

I will be delivering a presentation on quantum computing at DDD Melbourne 2016.

On this page: How it Works Constructing the Binary Tree Encoding the Data Unpacking the Data Final Thoughts The Code Huffman encoding is a compression technique developed by David Huffman and published in his 1952 paper 'A Method fo

The QSharp library will allow you to generate a quantum circuit diagram from a complete set of parsed commands.

The quantum Z gate is represented by the Pauli-Z matrix.

C#, F#, Maths, QSharp, Quantum Computing

The quantum Y gate is represented by the Pauli-Y matrix.

C#, F#, Maths, QSharp, Quantum Computing

The quantum X gate is represented by the Pauli-X matrix, and as such is the quantum NOT gate.

C#, F#, Maths, QSharp, Quantum Computing

The Register type represents a quantum state vector, which can be viewed as analogous to a memory register.

C#, F#, Maths, QSharp, Quantum Computing

Getting started with QSharp is easy.

C#, F#, Maths, QSharp, Quantum Computing

I remember the first time I heard about Quantum Computing - the basic concept seemed too fantastic to be true, with many of the fundamental principles seeming counter-intuitive and almost ridiculous to me.

C#, F#, Maths, QSharp, Quantum Computing

Recently some of my time has been taken up with developing a new streaming media app targeted at Windows Phone 8.

The Hamming distance can be essentially thought of as the number of differences counted between two strings of equal length.

Well, when is it? It sounds like a trick question, but the truth of the matter is there's no such trick to the question at all.

Providing proof by Mathematical Induction allows us to prove that a recursive function will return the correct value for any value within its sequence.

What can mathematics do for your programming? That's an interesting question to explore, even more so when answered with an example.

Algorithms, C#, Maths, SQL

In set theory, the difference operation determines which elements from one set do not appear in the elements of another given set.

In set theory, the intersect operation determines which elements from a set intersect with elements from any given sets.

In set theory, the union operation is a enumerative combinatorial function that combines distinct elements found in any of the given sets.

The factorial of an integer is the product of all positive integers less than or equal to that number.

The insertion sort is a simple sorting algorithm that sorts an array (or list) one item at a time.

In quantum computing, gate type operations are performed via matrix multiplication.

Matrix notation is a pain to deal with when writing in plain text/typing on a computer.

Here are three useful methods for multiplying complex terms: FOIL – First, Outer, Inner, Last Gathering Like Terms Expand Terms Consider the rule: (a + bi)(c + di) Where i denotes an imaginary number.

Like most programmers of classical computers, understanding the basics of quantum information and the underlying mechanics can be a bit of a leap.

Recently, I upgraded from Windows 8 to Windows 8.

A simple method for prime calculation involves: Calculate the square root of the number Setup a positively incrementing loop from 2 to the square root Attempt to divide the number by the loop value If the result of this calculation is greater t...

Recently sync operations to SkyDrive seemed to have stopped working with Office documents.

Goodbye to you, Visual Studio 2012 upper case menus! Have you recently installed Visual Studio 2012, and noticed that amongst the raft of UI changes that the menus now shout at you? For some reason, it's been decided that the menus should all a...

Background There seems to have been a shift away from traditional database involved development in the last period of time.

Train Tracks at Salzburger Freilichtmuseum Train Tracks at Salzburger Freilichtmuseum

Sunset over Winterthur Sunset over Winterthur

'Extrasolar' is the second release by Melbourne multi-instrumentalist, Carl Belle.

There have been quite a few new interesting features added into C# over the last few iterations, and once of these that I'd always wondered about was automatic properties.

I was sad to wave goodbye to Österreich as I started my trip north, which took me breifly through Deutschland, hitting 265 km/hr on the autobahn.

On leaving Schweiz, I thought that there was no way at all that I would ever see another country even remotely as beautiful as Switzerland, however I was totally wrong: welcome to Österreich! After leaving Venice, I pointed the bike north east and...

Sunset from Trondheim

My venture into Italy was a trial by fire, or on this particular day, a trial by water, Porsche, gravel, and goat, via the immensely complex Passo di Stelvio.

Sunflowers near Pisa

Passo dello Stelvio

Here are some photos I took at the 2011 Catalunyan MotoGP.

On the 29th of May, 2011 I boarded the ferry to Santander from a very grey and miserable Plymouth.

Luggage space! There is simply never enough of in on a motorcycle, but that by itself is one of the attractions of motorcycling: carrying just what you need, not everything ever made.

The tallest mountain pass in Europe

The R6 sleeps on the streets of Monaco

Turn 1 at Monaco

Casey Stoner on his way to victory at the Catalunyan MotoGP

The Plains of Spain

I was lucky enough to have a mate from Australia throwing a house warming style party at her place in Camden, so after a day taking in the sites and sounds, I ended up in Camden meeting more of the locals, which turned into an all-nighter and a train...

On the 18th of May I set out for a 2 day trip up to Wales, partly to give myself something to do, partly to test out the new bike luggage, and partly to test out the new bike, but mostly to see if all these moving parts would come together and facili...

My first excursions out on the new R6 have been reasonably safe and easy as I get used to being back in the saddle.

I picked up my new bike today, a lovely 2007 Yamaha YZF-R6.

I can't stand flying, it's really an awful experience, being locked inside a metal tube whizzing through the sky at (usually) around 800-900 km/hr, at an altitude of a few kilometres - there's really nothing civilised about it at all, in fact, it's p...

I decided to lash and purchase a GoPro Motorsport package for my trip to the EU.

Possibly the most important component of this trip is the bike itself.

What is SEO? Content relevance is king! This question has been asked many times, however SEO can be summarised as: "Structuring content, code, and associated in such a way to improve visibility to search engines.

Every once in a while, various events and circumstance in our lives suddenly align, offering new opportunities, ideas, thoughts, emotions, goals and aspirations.

When working with subqueries and common table expressions, you should consider the following best practices: Use subqueries to break down complex queries Consider the performance of subqueries, compared to other methods for retrieving data Use...

Recently I've decided to sell my beautiful 2001 Yamaha YZF-R6, known amongst my cirle of friends as 'The Phantom'.

Consider the following when you join data from multiple tables: Join tables on primary and foreign keys because it improves performance Limit the number of tables in a join Limit the number of tables in a join query because too many joins can s...

When you use clauses and operators to summarize data, consider the following: Index frequently aggregated columns to improve performance Avoid using aggregate functions on columns that contain NULL values Use the ORDER BY clause to guarantee t...

The following recommended practices should help you work with T-SQL, effectively and efficiently.

If you create an index containing all the columns (or more) that you need for a query, then this is referred to as a covering index.

The best practices for monitoring and controlling resources in SQL Server 2008 are: Establish a performance baseline over a period of time that reflects the differing utilization of SQL Server 2008 over the business cycle Choose an appropriate ...

Follow the guidelines given below when planning and implementing an appropriate backup strategy: Perform backups on a regular basis.

For best results, adhere to the following best practices when creating and optimizing indices in SQL Server 2008 (caveats apply): Create indices on columns that join tables, including primary and foreign keys to improve query performance Place ...

I've been a member of my local gym for some time now, and recently have switched to eight exercise sessions a week; four cardio, and four weights.

Last night I received an SMS enquiring as to whether the car was still for sale, it included an email address in which to reply to (snoxmarcus99@hotmail.

My Mini has been on the market only a couple of days now, and last night I received an SMS asking about the purchase price.

Well, the time has come for my to part with my 1968 Mini Cooper 'S'.

Normally you can use the LEN function to find the length of a string field, however this does not work on a text field.

Back in February 2008 I recorded some music on my Pro Tools equipped system at MKII Studios in Hawthorn, using only a Yamaha Pacifica 1221, a Vox Tonelab SE, a Vox AC30, and a handful of delays.

Introduction Architecture Auxiliary vs.

G'day all, apologies for not updating the site is so long, but with moving interstate, a new job, finding a house, and being forced at this stage to live out of boxes, I've had no time at all to address any recording, mixing, or anything else Pro Too...

Some time ago I was making noises regarding how much more powerful FXpansion's wonderful BFD2 can be if you just take the time to try and get more out of it.

I've noticed a lot of people visiting this site looking for the answer to this question, so I'm going to try and expand on it a little further.

It's been an eventful day today, but I'll try and cover off what I've done.

Copyright © 2018 carlbelle.com